Texas Instruments TI-92 Calculator User Manual


 
Chapter 17: Programming 275
17PROGRM.DOC TI-89/TI-92 Plus: Programming (English) Susan Gullord Revised: 02/23/01 1:14 PM Printed: 02/23/01 2:18 PM Page 275 of 40
Chapter 17:
Programming
Preview of Programming....................................................................... 276
Running an Existing Program............................................................... 278
Starting a Program Editor Session....................................................... 280
Overview of Entering a Program.......................................................... 282
Overview of Entering a Function......................................................... 285
Calling One Program from Another..................................................... 287
Using Variables in a Program ............................................................... 288
Using Local Variables in Functions or Programs .................................. 290
String Operations ................................................................................... 292
Conditional Tests ................................................................................... 294
Using If, Lbl, and Goto to Control Program Flow.............................. 295
Using Loops to Repeat a Group of Commands.................................. 297
Configuring the TI
-
89 / TI
-
92 Plus........................................................ 300
Getting Input from the User and Displaying Output ......................... 301
Creating a Custom Menu....................................................................... 303
Creating a Table or Graph..................................................................... 305
Drawing on the Graph Screen .............................................................. 307
Accessing Another TI
-
89 / TI
-
92 Plus, a CBL 2/CBL, or a CBR......... 309
Debugging Programs and Handling Errors......................................... 310
Example: Using Alternative Approaches............................................ 311
Assembly-Language Programs ............................................................. 313
This chapter describes how to use the
TI
-
89 / TI
-
92 Plus’s
Program
Editor to create your own programs or functions.
The chapter includes:
¦
Specific instructions on using the Program Editor itself and
running an existing program.
¦
An overview of fundamental programming techniques such as
If…EndIf
structures and various kinds of loops.
¦
Reference information that categorizes the available program
commands.
¦
Obtaining and running assembly-language programs.
17
Note: For details and
examples of any
TI
-
89 / TI
-
92 Plus
program
command mentioned in this
chapter, refer to
Appendix A.