void SetRandomSeed (unsigned long seedValue);
Sets the seed value used by the Random function.
Setting the seed value causes the Random function to begin a new sequence of random numbers.
If you set the seed to a previously set value, Random will generate the same sequence of random numbers that it did when the seed was first set to that value.
Pass 0 to set the seed value using the current time.
Input | ||
Name | Type | Description |
seedValue | unsigned long | Pass the seed value that the Random function should use to generate random numbers. |
None.