Whenever you use the DispĬommand without quotes, the number lines up on the right instead of the left. The number lined up to the right side of the screen. But notice what happened to theġ2345 when we took away the quotes. The first two lines were pretty predictable they simply printed what was inside the quotes. PRGM:I/O:3 will take you to the DispĬommand.) To see how this command works, create a new program and enter the following (press ENTER at the end of On, I'll use the abbreviations like PRGM:I/O:3 to say which menu option to choose. To get to it, press PRGM, go to the I/O menu, and choose option 3. The Disp command is used to display text. IfĪ program doesn't display anything on the screen, the user won't know what's going on! We'll start with something simple.ĭisplaying text on the screen is probably the simplest thing to do on the calculator, but it is also one the most important.
O.K., so all you need to know how to do now is actually write the program. One! Once you press enter the last time, the program is gone FOREVER!) Use 2nd QUIT to exit back to the home screen If you ever need to delete a program, press 2nd MEM,Ĭhoose Delete., choose Prgm., select the program you want to delete, and press enter. PRGM, then select the program's name from the EXEC menu. When you are finally ready to run your program, press Press PRGM, go to the EDIT menu, and choose your program. To edit a program that you have already started, To exit the program editor, press 2nd QUIT to go back to the home screen. Stands for Input/Output) menu contains commands that tell the calculator to do things that the user will see happening, likeĭisplaying text or allowing the user to enter numbers. The calculator to do "behind the scenes" tasks, like making decisions or jumping to other parts of a program. The CTL (which stands for Control) menu contains commands that tell That you can get to by pressing the PRGM button. Is the program editor, where you can enter the commands that make up your program.
Just type whatever you want here for now, and press enter. The calculator says "Name=" followed by a flashing cursor. In order to write a BASIC program on the TI-82, you must first get to the program editor. Lesson 6: Random Numbers and Your first game This tutorial teaches the reader the basics of TI-82 BASIC programming.