Difference between revisions of "Rndstore"

From WikiManual
Jump to: navigation, search
(Created page with "similar to dec but takes the memory to the random value of the memory.")
 
 
Line 1: Line 1:
 
similar to dec but takes the memory to the random value of the memory.
 
similar to dec but takes the memory to the random value of the memory.
 +
 +
example:
 +
 +
''Given'' 10 .up store
 +
 +
.up rndstore ''same as'' *.up rnd .up store ''is equal to a random value between 0 and 10''

Latest revision as of 10:44, 1 July 2014

similar to dec but takes the memory to the random value of the memory.

example:

Given 10 .up store
.up rndstore same as *.up rnd .up store is equal to a random value between 0 and 10