GETMODE Example
Example:
STATE3D
INTEGER
1
.
GETMODE
*3D=STATE3D
IF
(STATE3D = 0)
DISPLAY
"3D state disabled."
ELSE IF
(STATE3D = 1)
"3D state enabled."
(STATE3D = 99)
"PLBCON interpreter."
ENDIF
This example retrieves the current 3D state and decodes the result for display.