home *** CD-ROM | disk | FTP | other *** search
- /*
- Listing 14.13 - contains modified @..PROMPT and MENU TO Commands
- Author: Greg Lief
- Excerpted from Grumpfish Library
- Copyright (c) 1988-91 Greg Lief
- Distributed by Grumpfish Inc., Box 17761, Salem, OR 97305 USA
- *
- Grumpfish Library versions of these commands feature other options,
- including WHEN (security levels) clauses for each menu option, and
- CLOCK, EVENT, and TIMEOUT options for the MENU TO command. Call
- (503) 588-1815 for a free demo disk.
- */
-
- #command @ <row>, <col> PROMPT <prompt> [MESSAGE <msg>] ;
- [ACTION <action>] => ;
- if(menulist == NIL, menulist := {}, NIL); ;
- aadd(menulist,{ <row>, <col>, <prompt>, <msg>, <{action}> })
-
- #command MENU TO <v> => ;
- lite_menu(menulist, @<v>, #<v>) ; menulist := {}
-
- //───── end of file MYMENU.CH
-