Random()

Syntax

Result = Random(Maximum)
Description
Returns a random number (integer) between and including 0 and the Maximum value. 'Maximum' can be maximal 2147483647 (positive long value). Additionally RandomSeed() can be used to change the random number seed.

Note: each times a program start, a new seed is generated, so RandomSeed() is only useful when you want to generate the same random numbers in the same order every time the program is run.

Supported OS

All

<- RGB() - Misc Index - RandomSeed() ->