* In the following example, a menu named popExam is created. The 
* menu definition is pushed to the stack and then one of the menu iems is 
* modified. The original menu definition is then restored by popping it off 
* the stack.

DEFINE POPUP popExam FROM 5,5
DEFINE PAD 1 OF popExam PROMPT "_MED_PREF"
DEFINE BAR 1 OF popExam PROMPT "_MED_PREF"
DEFINE BAR 2 OF popExam PROMPT 'Two'
DEFINE BAR 3 OF popExam PROMPT 'Three'
DEFINE BAR 4 OF popExam PROMPT 'Four'
ACTIVATE POPUP popExam NOWAIT

PUSH POPUP popExam 
WAIT 'Popup pushed' WINDOW
RELEASE BAR 2 OF popExam
WAIT 'This is the modified popup' WINDOW

POP POPUP popExam 
WAIT 'Popup popped, original popup restored' WINDOW
DEACTIVATE POPUP popExam
RELEASE POPUP popExam
