Scripting > UNICOM Intelligence Function Library > List functions > SetReversalSeed
 
SetReversalSeed
This function sets the reversal state. This is stored by the mrScript engine and Evaluate component and passed to the Rev function.
Syntax
SetReversalSeed([Seed])
Parameters
Seed
Type: Long
Optional. State to use for reversals. The default is 0.
(return)
Type: Long
New state for reversals.
Remarks
Seed can be any Long value, positive, zero, or negative. If Seed is not supplied or has a value of 0, a random number is used.
Example
This example sets the reversal state to 3.
SetReversalSeed(3)
See also
Rev
List functions