[<<Previous Entry]
[^^Up^^]
[Next Entry>>]
[Menu]
[About The Guide]
nRandom()
Generates a random number
Syntax:
nRandom ( nMax ) -> nNumber
nMax : The maximum value able to take for the number.
Description:
Generates a random number between 0 and the specified number.
If you desire a random number between, for example, 2 and 5, you
would use syntax like this: nVar := 3 + nRandom ( 2 )
Return:
The random generated number.
Example:
nRandom ( 100 )
This page created by ng2html v1.05, the Norton guide to HTML conversion utility.
Written by Dave Pearson