Language Reference

READMENU

220

OUTPUT 723;"ELSIF KEY,EQ,2;";

If KEY equals 2, increase the measurement range .

230

OUTPUT 723;"THEN;CENTERWL 1000NM;SP 100NM;";

 

240

OUTPUT 723;"ELSIF KEY,EQ,14;";

If KEY equals 14, then stop repeating lines 150 0

 

 

270.

250

OUTPUT 723;"THEN;ABORT;";

 

260

OUTPUT 723;"ENDIF;";

 

270

OUTPUT 723;"UNTIL KEY,EQ,14;"

End repeat-loop de￿nition.

Description The READMENU command assigns a series of key labels to form a menu of keys that can be accessed with the 4USER5 key. READMENU can be used

in conjunction with the IF/THEN/ELSE commands. No further commands are processed until the user presses one of the menu keys given by the READMENU command. After the execution is completed, the menus return to their previous state, and the destination for number of pressed key (see syntax diagram) contains the number of the key that was pressed. Keys are numbered 1 through 14. Keys 1 through 7 and 8 through 14 line the right and left sides of the display, respectively.

7-414