setseed()

Function group Execute on client Platform(s)
Random NO All

Syntax

setseed(seed)

Description

Sets the random number seed for the random functions, such as rand(). setseed() converts seed into a Long number. It returns the previous seed as an integer number.

Example

Calculate lResult as setseed(10)
; sets seed to 10 and returns previous seed in lResult