RN - random number statement


integer RN [HIGH={integer|100}]
           [,LOW={integer|0}]

Function

The RN statement defines the lower and upper limits for generation of a random number to be inserted into a data field or used as a delay value. It is referenced by the RNUM data field option or an R delay value.

The RN statement is optional, but it can be coded more than once.

Where

integer
Function: Specifies the number to be used to reference this statement in message generation.

Format: An integer from 0 to 255.

Default: None. This number is required.

HIGH={integer|100}
Function: Specifies the upper limit of the random number to be generated.
Note: The upper limit must be greater than the LOW specification.

Format: An integer from 1 to 2147483647.

Default: 100

LOW={integer|0}
Function: Specifies the lower limit of the random number to be generated.
Note: The lower limit must be less than the HIGH specification.

Format: An integer from 0 to 2147483646.

Default: 0

Note: The HIGH and LOW values are included within the range of random numbers.