This sample show how easy it is to create a fully functional menu system. The menu file is a plain ASCII text file containing the menu item's location, text, description and command. Menu items can call submenus, nested many levels deep.
M|000|00|015|03|MAIN %|000|00|000|00|00| [ %c ] - %-29s &|002|00|077|03|00| T|004|01|001|15|00| T|061|01|004|15|00| T|004|02|008|20|00| T|025|02|016|32|00| T|065|02|032|00|00| T|020|01|002|40|00|STARSolution V5.0.F B|000|05|042|14|01| #|002|06|001|00|01|1Sales Analysis Report|Supply/Demand Analysis Report|salan #|002|07|001|00|01|2Electronic Mail|EMail Maintenance|PROC=xelm #|002|08|001|00|01|3Send EMAIL W/ Address Lookup|Send Email Front-End|EXEC=emlrp #|002|09|001|00|01|4Edit Signature File|Edit Signature|EXEC=sled .signature #|002|10|001|04|01|5Change Password|Change Password|pass #|002|11|001|00|01|6Remove Email Lock|Remove Lockfile|PROC=rmelmlock H|000|12|042|00|02| !|002|13|000|00|00|[ %-35s ]
Results in a fully functional menu selection like this:
+--------------------------------------------------------------------------+
| 3:eric STARSolution V5.0.F 03/22/2002 |
| PRINT=NONE SSI - SHOPPERS' SQUARE, INC. PREVIEW=ON |
+--------------------------------------------------------------------------+
+-----------------------------------------+
| [ 1 ] - Sales Analysis Report |
| [ 2 ] - Electronic Mail |
| [ 3 ] - Send EMAIL W/ Address Lookup |
| [ 4 ] - Edit Signature File |
| [ 5 ] - Change Password |
| [ 6 ] - Remove Email Lock |
+-----------------------------------------+
| [ Supply/Demand Analysis Report ] |
+-----------------------------------------+
|