

Control Commands › General Considerations › The Menu Stack
The Menu Stack
System-supplied menu-handling routines use a menu stack to keep track of menu execution at run time. The menu stack is maintained automatically at run time.
Considerations
The following considerations apply:
- When a menu (or menu/dialog) function is executed in an online application, the function name is added to the internal menu stack. The menu or menu/dialog function name is removed from the menu stack when a POP or RETURN function returns control in either of the following ways:
- To the menu
- To a menu that is higher in the menu stack
- If a menu or menu dialog function is already in the menu stack when a LINK, INVOKE, or TRANSFER command passes control again to the function, the first occurrence of the name is deleted from the stack. The name is then added to the end of the stack, as usual.
- Each menu name can appear only once in the menu stack.
Copyright © 2014 CA.
All rights reserved.
 
|
|