Opens a menu in the current window.
MENU OPEN object [NOCLEAR]
|object||Object can be
The name of the menu to be opened.
A character string, or an expression that evaluates to a character string, to be used at run time as the name of the menu. Using expr enables one MENU OPEN command to specify different menus, at the risk of encountering an ambiguous name. MENU OPEN (expr) cannot be used to open menus defined in a foreign directory.
|NOCLEAR||Specifies that the values currently assigned to the menu items are to be retained. (If NOCLEAR is not specified, each field is set to its default value when the menu is opened.)|
MENU OPEN does not display the menu or request input from the user; it initializes the menu for use. The menu is displayed using the MENU DISPLAY command and input is requested using the MENU INPUT or FORM INPUT command (if a form is open in the window).
Pre-defined menu attributes can be changed dynamically using the MENU SET (Attributes) command.