Name
random — Returns a random number within a given range.
Synopsis
call subs.txt random { lower } { upper } [ return ]
Parameters
Table 50. random parameters
Name | Description |
---|
lower | Lower value |
upper | Upper value |
return | Name of return value ('return' by default). |
Description
Returns a random number within a given range. Note: %2 must be greater than %1.
Returns
@%3 is random number between lower and upper.