Error getting tags :
error 404Error getting tags :
error 404 randomSeed | revDocs | RunRev
Welcome Guest (Log in)
Product Edition
Version
randomSeed
Basics
Expander triangle
Type
Property
Syntax
set the randomSeed to integer
See Also
Introduced
1.0
Environment
Desktop, Web and Server
Platform Support
MacOS,Mac OS X,Windows,Linux
Security
None required
Summary
Determines the seed value used to generate random numbers.
Examples

set the randomSeed to 4570422

Additional Comments
Expander triangle

Use the randomSeed property to ensure greater randomness when generating random numbers.

Value:

The randomSeed property is an integer.

Comments:

Changing the randomSeed property changes the pseudorandom numbers generated by the random function and used by the any keyword. Using the same seed creates the same sequence of pseudorandom values.

For example, if you call the random function five times to generate a list of five numbers, then change the randomSeed to another value, the next five calls to the random function will produce a different list of five numbers. However, if you set the randomSeed back to its original value and call the random function five more times, the list of five numbers is the same as the first list you generated.

Revolution uses a new randomSeed every time the application is started up.

User Comments
Expander triangle