Difference between revisions of "RESTORE MENU"

From Recital Documentation Wiki
Jump to: navigation, search
 
 
(3 intermediate revisions by 2 users not shown)
Line 1: Line 1:
=RESTORE MENU=
 
 
 
==Class==
 
Menus
 
 
 
 
==Purpose==
 
==Purpose==
 
Restore a previously saved menu
 
Restore a previously saved menu
Line 15: Line 8:
  
 
==See Also==
 
==See Also==
[[ON KEY]], [[SAVE MENU]], [[SET KEY]], [[SET KEY TO]], [[SET PCKEYS]], [[SET POSTMENU]], [[SET PREMENU]], [[MENU()]], [[MENUITEM()]]
+
[[MENU()]], [[MENUITEM()]], [[ON KEY]], [[SAVE MENU]], [[SET KEY]], [[SET KEY TO]], [[SET PCKEYS]], [[SET POSTMENU]], [[SET PREMENU]]
  
  
Line 28: Line 21:
 
<code lang="recital">
 
<code lang="recital">
 
procedure check_value
 
procedure check_value
save menu to m_recv
+
  save menu to m_recv
restore menu from m_recv
+
  restore menu from m_recv
 
return  
 
return  
 
</code>
 
</code>
Line 35: Line 28:
  
 
==Products==
 
==Products==
Recital Mirage Server, Recital Terminal Developer
+
Recital  
 
[[Category:Documentation]]
 
[[Category:Documentation]]
 
[[Category:Commands]]
 
[[Category:Commands]]
 +
[[Category:Menus]]
 +
[[Category:Menus Commands]]

Latest revision as of 16:23, 12 November 2009

Purpose

Restore a previously saved menu


Syntax

RESTORE MENU [FROM <memvar>]


See Also

MENU(), MENUITEM(), ON KEY, SAVE MENU, SET KEY, SET KEY TO, SET PCKEYS, SET POSTMENU, SET PREMENU


Description

The RESTORE MENU command restores a menu that was previously saved with the SAVE MENU command.

FROM <memvar>

The optional FROM <memvar> clause is used when you have saved more than one menu. Without the FROM <memvar> clause the RESTORE MENU command restores the last menu saved. The <memvar> is a memory variable to which @...MENU context has been stored with the SAVE MENU TO command.


Example

procedure check_value
  save menu to m_recv
  restore menu from m_recv
return


Products

Recital