Developer Documentation Library > 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 value is 0.
(return)
Type: Long
New state for reversals.
Notes
<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