POP MENU

From Recital Documentation Wiki
Jump to: navigation, search

Purpose

Retrieve a menu bar definition from the stack


Syntax

POP MENU <MENU> [TO MASTER]


See Also

ACTIVATE MENU, DEFINE MENU, POP POPUP, PUSH MENU, PUSH POPUP, SET COMPATIBLE


Description

POP MENU recovers the specified <menu> from the stack following a corresponding PUSH MENU command. Menus are always placed on and removed from the stack in a last in, first out order. SET COMPATIBLE should be set to ON when using this command.

TO MASTER

Using the TO MASTER clause will restore the first menu pushed onto the stack and then clear all others from the stack.


Example

push menu _msysmenu
set sysmenu to _mfile, _medit
pop menu _msysmenu


Products

Recital