[<<Previous Entry]
[^^Up^^]
[Next Entry>>]
[Menu]
[About The Guide]
nRandom()
Generates an aleatory number
Syntax:
nRandom ( nMax ) -> nNumber
nMax : The maximun value able to take for the number.
Description:
Generates an aleatory number between 0 and the specified number.
If desired generates an aleatory number between, by the example,
2 and 5, is able to be done as nVar := 3 + nRandom ( 2 )
Return:
The aleatory generated number.
Example:
nRandom ( 100 )
This page created by ng2html v1.05, the Norton guide to HTML conversion utility.
Written by Dave Pearson