| Ti-83 Basic | |
| The Basics 1.1: Getting Started 1.2: The "Disp" Command 1.3: The "Input" Command 1.4: Strings 1.5: If-Then Statements 1.6: "For" Loops 1.7: "While" Loops 1.8: The "Getkey" Command Creating Menus 2.1: Lbl and Goto Commands 2.2: The "Menu" Command Graphics 3.1: Setting up for Drawing 3.2: Graphing 3.3: Graph-Coordinates Drawing 3.4: Screen-Coordinates Drawing 3.5: Pictures 3.6: "Input" Revisited 3.6: Advanced Menus 3.8: Dynamic Menus 3.9: Dialog Boxes Miscellaneous 4.1: Memory Management 4.2: Creating Lists and Saved Games 4.3: Using with MirageOS 4.4: Tips and Hints | Lbl and Goto Commands The Lbl command stands for Label. You use these to label certain parts of your program. Then, you use the Goto command to go to these labels. It works like this: Lbl MM :Input "1,2?",A :If A=1 :Goto EF :If A=2 :Goto YU :Lbl EF :Disp "You entered 1" :Stop :Lbl YU :Disp "You entered 2" :Pause :Goto MM The "Stop" command forces the program to stop. You can get this by going to [PRGM] {F}. You can have more than one goto going to a single Lbl. Work with this a little bit. We usually put a label at the very beginning of the program called ST, for start, and one right above the main menu, called MM. Labels can only be 2 characters long, and they can only be uppercase letters or numbers. |
![]() The text in this tutorial is licensed under a Creative Commons Attribution-Noncommercial-Share Alike 3.0 Unported License. | |

