random

Return a random integer in the range, inclusive, of the given limits.

Syntax

integer random(integer min,integer max)

Parameters

min
The inclusive lower bound of the random number.
max
The inclusive upper bound of the random number.
max must be greater than or equal to min.

Return Value

Returns a random integer number in the range from min through max, inclusive.

Example

Test Lines

Result