Lingo Dictionary > O-R > randomSeed |
![]() ![]() ![]() |
randomSeed
Syntax
the randomSeed
Description
System property; specifies the seed value used for generating random numbers accessed through the random()
function.
Using the same seed produces the same sequence of random numbers. This property can be useful for debugging during development. Using the ticks
property is an easy way to produce a unique random seed since the ticks
value is highly unlikely to be duplicated on subsequent uses.
This property can be tested and set.
Example
This statement displays the random seed number in the Message window:
put the randomSeed
See also
![]() ![]() ![]() |