Random

Computes a pseudo-random number.

Syntax:

Random (max)

Parameters:

(i) max largest desired integer number.

Returns:

(i)  difficult to predict positive number.

 

This function will return a random integer between 0 and max.

 

Example:


a = Random(79)
Message("Random number between 0 and 79", a)
See Also:

IntControl 81, Average, Max, Min