McIDAS-X User's Guide
Version 2024.1

[Search Manual] [Table of Contents] [Go to Previous] [Go to Next]


Pseudocommands

The F Key Menu System allows for some rudimentary flow control by permitting pseudocommands in the menu file. The pseudocommand syntax allows multiple commands on a line separated by semicolons (;). There are two restrictions:

The F Key Menu System pseudocommands are listed below.

@nnnn

This pseudocommand switches to menu nnnn. See the Sample Menu File, the instructions for Defining Loops, and the F and C character instructions for more examples of using @nnnn.

*Snn

This pseudocommand saves the current loop state (bounds, rates, etc.) under loop number nn. See the the instructions for Defining Loops for more examples of using *Snn.

*Rnn

This pseudocommand recalls the loop state nn. See the the instructions for Defining Loops for more examples of using *Rnn.

*EXIT

This pseudocommand prompts McIDAS to perform an EXIT command and removes all McIDAS resident programs from memory. Use this command on rare occasions only.

@RET

This pseudocommand invokes the previous menu. For example, if menu 1 switches to menu 4 using the @4 command, and menu 4 switches to menu 23 using @23, then performing an @RET pseudocommand in menu 23 invokes menu 4 just as if an @4 was done. Consequently, performing an @RET in menu 4 invokes menu 1, not menu 23.

*QUIT

This pseudocommand exits the menu and closes its window.


[Search Manual] [Table of Contents] [Go to Previous] [Go to Next]