Difference between revisions of "NOEXIT"

From Recital Documentation Wiki
Jump to: navigation, search
 
Line 1: Line 1:
=NOEXIT=
 
 
 
 
==Class==
 
==Class==
 
Menus
 
Menus
Line 25: Line 22:
 
<code lang="recital">
 
<code lang="recital">
 
procedure calendar
 
procedure calendar
calendar menu at 2,27
+
  calendar menu at 2,27
noexit
+
  noexit
 
return
 
return
 +
 +
@1,2 menu "exit";
 +
  command "quit";
 +
  help "exit the system"
 +
@1,10 menu "calendar";
 +
  command "do calendar";
 +
  help "display a calendar"
 +
menu exit
 
</code>
 
</code>
  
Line 35: Line 40:
 
[[Category:Documentation]]
 
[[Category:Documentation]]
 
[[Category:Commands]]
 
[[Category:Commands]]
 +
[[Category:Menus]]
 +
[[Category:Menus Commands]]

Revision as of 08:38, 3 June 2009

Class

Menus


Purpose

Cause control to remain within a menu after a menu option has been selected


Syntax

NOEXIT


See Also

@...MENU, MENU, MENU AT, MENU COMMAND, MENU FIELDS, MENU FILES, MENU FORMAT, MENU FRAME, MENU QUERY, MENU SCOPE


Description

The NOEXIT command can be used in conjunction with the MENU EXIT command to cause control to remain within the menu after a command is executed. Normally, when the EXIT keyword is used with the MENU command, the menu is exited after a menu item is selected and the associated commands executed. If the NOEXIT command is executed as one of the commands associated with a menu item, then the menu will not be exited.


Example

procedure calendar
  calendar menu at 2,27
  noexit
return
 
@1,2 menu "exit";
  command "quit";
  help "exit the system"
@1,10 menu "calendar";
  command "do calendar";
  help "display a calendar"
menu exit


Products

Recital Mirage Server, Recital Terminal Developer