Monarch 9460 Programmer's Manual page 101

Adk printer
Hide thumbs Also See for 9460:
Table of Contents

Advertisement

Example
This example compares the Input Buffer's contents to <<, >>, and =. For example,
if the input contains >>, the script executes the commands following CASE ">>"
until the next CASE or DEFAULT command. Control then passes to ENDSWITCH.
If the input buffer does not match any values, the script executes the commands
following DEFAULT, until it reaches ENDSWITCH.
SWITCH INPUT
ENDSWITCH
See Also
IF
WHILE
CASE "<<"
CALL SCROLLUP
CALL DISPLAYMENU
CASE ">>"
CALL SCROLLDOWN
CALL DISPLAYMENU
CASE "="
CALL SELECTMENUITEM
DEFAULT
BEEP
Command Reference 5-79

Advertisement

Table of Contents
loading

Table of Contents