GETMODE


7.8.5, PLBCMP Only

 

The GETMODE instruction retrieves information from the runtime. The instruction uses the following format:

 

 

[label]

GETMODE

{list}={value}[,{list}={value},...]

 

Where:

label

Optional. A Program Execution Label.

list

Required. One or more of the valid GETMODE list control strings.

value

Required. A previously defined variable that returns the specified mode value.

Flags Affected: OVER, ZERO

Note the following:

  1. One or more List Controls may be specified in the list by separating them by a comma.

  2. If {value} is a numeric variable and the numeric variable is too small to contain the mode's value, the OVER flag is set.

  3. If {value} is a numeric variable and the value stored is zero (0), the ZERO flag is set.

 

 

See Also: Example Code, SETMODE, System Interface Instructions

 



PL/B Language Reference GETINFO GETPARM