@RANDOM

Top  Previous  Next

Syntax:

 

@RANDOM( <max> )

@RANDOM( <min> , <max>)

 

Description:

 

This function returns an integer pseudo-random number between the specified <min> and <max<. If no <min> specified, then it returns an integer random number between 0 and <max>.

The series of numbers returned by this function is repeatable for any value of the seed set using the RANDOM command.

 

OK:

 

Unchanged.

 

Example:

See a more advanced example...

 

See also:

 


RANDOM