Darwin Help

Back to Index

SetRand

Function SetRand


Calling Sequence  SetRand(seed)
Parameters
NameTypeDescription

seed integer 
Return Type  NULL
Synopsis Sets the seed of the random number generator. The sequence of pseudo-random numbers generated depends uniquely on the seed, i.e. the same seed will generate the same sequence.
Examples
> SetRand(123);

See also Rand,   SetRandSeed