Scripting > UNICOM Intelligence Function Library > List functions > GetReversalSeed
 
GetReversalSeed
Returns the current reversal state. This is the value that was used by the most recent call to the Rev function to determine whether the list was reversed or not. An odd value means that the list was reversed, an even value means that the list was presented in its normal order.
Syntax
GetReversalSeed()
Parameters
(return)
Type: Long
Current reversal state.
Remarks
The current reversal state is stored by the mrScriptBasic engine and Evaluate component and passed to the Rev function as a hidden parameter.
Example
Dim seed
seed = GetReversalSeed()
See also
Rev
List functions