Unidata - To provide the data services, tools, and cyberinfrastructure leadership that advance Earth system science, enhance educational opportunities, and broaden participation. Unidata
         
  advanced  
 
Table of contents Previous: F Key Menu System Next: F Key Menu M

Creating a Menu File

A menu file defines both the menu text and commands associated with the function key combinations. It is an ASCII text file containing instructions for the McIDAS menu system. These instructions obey certain format rules: the instructions need specific character positions. The first character in an instruction line defines the type of instruction. These characters include the following.

Character Instruction
M Menu or Window defines the menu number described by subsequent instructions.
I Initialization defines a McIDAS command sequence to run when the menu is accessed.
T Text defines the screen row and column where a string of text begins, the color and the text itself.
F The function key defines a McIDAS command or sequence of commands to run when a specified function key is pressed.
A Alt + Function key defines a McIDAS command or sequence of commands to run when you press Alt and the specified function key simultaneously.
C Ctrl + Function key defines a McIDAS command or sequence of commands to run when you press Ctrl and the specified function key.
S Shift + Function key defines a McIDAS command or sequence of commands to run when you press Shift and the function key simultaneously.
U User Common Pokes define values to poke into User Common whenever this menu is displayed.
+ + means a line is continued from the previous line (for A, C, F, I, S and T characters only).

If the first character in an instruction line is not one of those listed above, the system treats the line as a comment line and ignores it. Each character is described in more detail below, including a character definition, format, parameter descriptions and example.


Table of contents Previous: F Key Menu System Next: F Key Menu M
 
 
  Contact Us     Site Map     Search     Terms and Conditions     Privacy Policy     Participation Policy
 
National Science Foundation (NSF) UCAR Community Programs   Unidata is a member of the UCAR Community Programs, is managed by the University Corporation for Atmospheric Research, and is sponsored by the National Science Foundation.
P.O. Box 3000     Boulder, CO 80307-3000 USA     Tel: 303-497-8643     Fax: 303-497-8690