| 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 | "Input" Revisited There is another way to use the Input function. Instead of adding stuff behind it, leave it blank. This will do something completeley different. It will display the graph screen, and display a cursor that you can move around with the arrow keys. If you have coordinates turned on, it will also display the coordinates of the cursor. When you press enter, it stores the cursor's X and Y position to the variables X and Y. How is this useful? Well, this is the exact funtion that Argon uses. When at the main screen, or when drawing an object, notice the cursor and the coordinates. How do you use this in a menu? With a very long if statement. Say you have a button drawn at 9,9 with a radius of 1. This would make a 2x2 square in the upper right hand corner. Here's how you check: :Input :If X>8 and X<10 and Y>9 and Y<8 :Goto BP This command may come in useful. |
![]() The text in this tutorial is licensed under a Creative Commons Attribution-Noncommercial-Share Alike 3.0 Unported License. | |

