Solution 11732: Creating a Menu by Writing a Program on the TI-83 Family, TI-84 Plus Family or TI-Nspire™ Handheld in TI-84 Plus Mode.
Can I write a program that generates a menu on the TI-83 family, TI-84 Plus family or TI-Nspire handheld in TI-84 Plus mode?
The Menu() command in the Program Editor can be used to create a menu. The Menu() command sets up branching within a program. When this command is encountered during program execution, the menu screen is displayed with the specified menu items, the pause indicator is activated and the execution of the program pauses until a menu item is selected.
The syntax for the Menu command is Menu("title", "text1", label 1, "text2", label 2,...).
The menu title is enclosed in quotation marks. Up to seven pairs of menu items may follow. Each pair comprises a text item (also enclosed in quotation marks) to be displayed as a menu selection and a label item in which to branch when the corresponding menu option is selected.
For example, the following code:
: Menu("TOSS DICE", "FAIR DICE", A, "WEIGHTED DICE", B)
Will generate the following output:
1. FAIR DICE
2. WEIGHTED DICE
The program will pause until 1 or 2 is selected. If 2 is selected, for example, the menu disappears and the program continues execution at Lbl B.