Keyword: RAND - Random integer
Posted: Mon Mar 22, 2021 8:40 pm
Description
Parameters
Usage
On Error
- Generates a random integer value between a specified range.
Parameters
- x: Inclusive minimum integer for the range
- y: Inclusive maximum integer for the range
Usage
- To generate a random integer:
- RAND x, y
- To retrieve generated random integer:
- %RAND%
- SETVAR thisRandom = %RAND%
On Error
- %RAND% returns -1