home *** CD-ROM | disk | FTP | other *** search
- --::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::
- --sampmen1.mne
- --::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::
-
- * This is Sample Menu 1 delivered with the Menu Manager. This
- * Menu calls a "Task", a "Program" and an Ada procedure followed
- * by a call to another menu.
-
- [ sam1 ] * Will create a Menu Definition Table called
- * "sam1"
-
-
- Line[2] Col[1]
- [ This is the Sample Menu 1, it is used to demonstrate the Menu Manager.]
- l[4]
- [ The selections available are:]
- l[7] col[10]
- [ 'a' to start the task 'ABDCE']
- l[9]
- [ 'b' to start the program 'XYZ' ]
- l[11]
- [ 'c' to start Ada procedure SAMPLE_1, and bring up menu 'sam2']
-
- Error_line_is [ That selection is bad, try again ]
-
- S [ a ] Task [ ABCDE ]
-
- Select [ b ] program [ XYZ ]
-
- Select [c] Ada [ SAMPLE_1 ] Menu [ sam2 ]
- --::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::
- --sampmen2.mne
- --::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::
-
-
-
- [sam2];Error[ Wrong selection, try again ]
-
- * This the Sample Menu 2 delivered with the Menu Manager. This
- * menu includes selection commands that only call the other menus,
- * no programs, tasks or Ada procedures are called in this menu.
-
- Select [ 1 ] Menu [ sam1 ]
-
- Sel [3] Menu_def_table [sam3]
-
- Line [5] Column [6]
- [This menu is the Sample Menu 2 delivered to demonstrate the Menu Manager.]
- Line [8]
- [The menu is used to select the other menus. The selections include:]
- Line_number [10] Col[15]
- [type "1" to display menu "sam1"]
- Lin[11]
- [type "3" to display menu "sam3"]
-
- *** End of sampmen2.mne, Menu Def Table sam2 ****
- --::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::
- --sampmen3.mne
- --::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::
-
-
- * This is Sample Menu 3 delivered with the Menu Manager for
- * demonstration. This menu will contain to selections that
- * call the Ada procedure followed by displaying each of the
- * other sample menus. The 3 selection will contain a slight
- * syntax error. This will demonstrate how the compiler produces
- * a Men Def Table even if Warning type errors are found. The
- * resulting action of the Menu should be examined by the user.
-
- [sam3],Error[opps...]
-
- L[4]
- [This is Sample Menu 3 delivered to the user. The Men Definition File for]
- L[5]
- [this Menu contains some syntax errors, however a Menu Definition Table is]
- L[6]
- [still created, and the action of the resulting menu should be noted.]
- l[9] Column [5]
- [The '%' will call the Ada procedure "SAMPLE_1" followed by menu "sam1"]
- l[10]
- [The '#' will call the Ada procedure followed by menu "sam3" * note the Line
- * has no closing delimiter.
- [ sample text]
- l[12]
- [The '$' will call the Ada procedure followed by displaying menu "sam2"]
-
- Select [ % ] Ada [SAMPLE_1] Menu [sam1]
- Select [ # ] Ada [SAMPLE_1] Menu [sam3]
- Sel [ $ ] Ada [SAMPLE_1] Menu [sam2]
-
- l[15]
- col [2] [Note that although the line defining selection '#' is not displayed]
- l[16] [the selection key still works. This is because the syntax error was]
- l[17] [found in the line to be put to the Menu Layout, and no error was ]
- l[18] [found in the Select command identifying the '#' character.]
-
-