NOEXIT
From Recital Documentation Wiki
Revision as of 15:41, 12 November 2009 by Helengeorge (Talk | contribs)
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