Calculator Community > Axe
Turn order based on value in AppVar?
Raylin:
--- Code: (TEST) ---:"vCake->Str1
:GetCalc(Str1,7)->A
:For(X,0,6
:rand->{A+X
:End
:Fill(0->{B},6
:For(X,0,6
:{A+X}->Z
:For(Y,0,6
:If {A+Y}>=Z
:{B+Y}+1->{B+Y}
:End
:End
:End
:For(C,0,6
:Disp {B+C}>Dec,i
:End
--- End code ---
calc84maniac:
The problem is that you didn't initialize B to the place where you want your 7-byte output list.
Raylin:
Oh?
I thought that the Fill( command did that!
:P
My fault.
Quigibo:
Everywhere in that sample where you used "B" just replace it with "L1".
Raylin:
It works.
Thank you, sir. :)
Navigation
[0] Message Index
[#] Next page
[*] Previous page
Go to full version