Survey Tabulation > Advanced expressions > UNICOM Intelligence function library > Random number functions > GetRandomSeed
 
GetRandomSeed
Returns a value representing the current starting point of the random number generator for these functions: Rnd, RanInt, and Ran.
Syntax
GetRandomSeed()
Parameter
(return)
Type: Long
Current starting point for random number generation.
Remarks
The current starting point for the random number generator is stored by the mrScriptBasic engine and Evaluate component and passed to the Ran, RanInt, and Rnd functions as hidden parameters.
Example
Dim seed
seed = GetRandomSeed()
See also
Random number functions