Clib Initialize Random Number Generator Method
The Clib Initialize Random Number Generator method initializes a random number generator.
Format
Clib.srand(seed)
The following table describes the arguments for the Clib Initialize Random Number Generator method.
Argument | Description |
---|---|
seed |
The number that the random number generator uses as a starting point. If you do not specify the seed argument, then this method uses a random number that is specific to the operating system. |
Related Topics
For more information, see the following topics: