McIDAS-X User's Guide
Version 2024.1

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


Sample Menu File

Below is a sample menu file. Commands are on the left; their functions are on the right. Blank lines are not part of the file.

Sample Menu File

Commands Function
M 0
Defines menu zero.
F 0 "@1
The Esc key is aimed at menu 1.
T 00 00 07 "Esc to enter menu system
Defines the display for line zero, column zero, using graphics color level 7.
-----------------------------------
Comment; used here to indicate a new menu.
M 1
Defines menu 1.
I "SF 2;LB 2 2
Displays frame 2, then sets the loop bounds to 2-2.
T 2 10 14 "F1
Displays F1 on line 2, starting in column 10 in graphics color level 14.
T 2 14 7 "Receive latest satellite image
Displays this message after the F1 above.
T 4 10 14 "F2
T 4 14 7 "Receive current meteorogram
T 6 10 14 "F3
T 6 14 7 "See satellite image
T 8 10 14 "F4
T 8 14 7 "See meteorogram
T 12 10 14 "F5
T 12 14 7 "Return to McIDAS-X
Displays the rest of the menu choices.
F 0 "@1
Redefines the Esc key to go to menu 1.
F 1 "IMGDISP GOES/EAST 1 STA=KMSN
Command for F1.
F 2 "SFCMG KMSN
Command for F2.
F 3 "@2
F 4 "@3
F 5 "@4
F3 takes you to menu 2, etc.
-----------------------------------
Comment; used here to indicate a new menu.
M 2
Defines menu 2.
I "SF 1;LB 1 1
Displays frame 1, then sets the loop bounds to 1-1.
T 10 10 7 "Esc to return to menu
Displays Esc message.
F 0 "@1
Redefines the Esc key to go to menu 1.
-----------------------------------
Comment; used here to indicate a new menu.
M 3
Defines menu 3.
I "SF 2;LB 2 2
Displays frame 2, then sets the loop bounds to 2-2.
T 10 10 7 "Esc to return to menu
Displays Esc message.
F 0 "@1
Redefines the Esc key to go to menu 1.
-----------------------------------
Comment; used here to indicate a new menu.
M 4
Defines menu 4: return to the normal interface.
T 10 10 7 "Esc to exit menu system
Displays Esc message.
F 0 "*QUIT
Redefines the Esc key to exit the menu.

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