random
Description
Returns a random int value between 0 (inclusive) and the specified value (exclusive). This works for integers only.
Parameters
Return Type
Number
Example
number a = random(4);
print("a= " + a);
Prints: a= 3;
See also
Peacock
Returns a random int value between 0 (inclusive) and the specified value (exclusive). This works for integers only.
Number
number a = random(4);
print("a= " + a);
Prints: a= 3;