EasyManuals Logo

Texas Instruments Titanium TI-89 User Manual

Texas Instruments Titanium TI-89
1008 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Page #612 background imageLoading...
Page #612 background image
Programming 612
When For is executed, the variable value is compared to the end value. If variable does
not exceed end, the loop is executed; otherwise, program control jumps to the command
following
EndFor.
Note: The For command automatically increments the counter variable so that the
program can exit the loop after a certain number of repetitions.
At the end of the loop (
EndFor), program control jumps back to the For command, where
variable is incremented and compared to
end.
For example:
Ê
Displays 0, 1, 2, 3, 4, and 5.
Ë Displays 6. When variable increments to 6, the loop is not executed.
Note:
You can declare the counter variable as local if it does not need to be saved after
the program stops.
Ê
Ë
:For i,0,5,1
: Disp I
:EndFor
:Disp i
i > 5
i { 5
:For i,0,5,1
: --------
: --------
:EndFor
:--------

Table of Contents

Questions and Answers:

Question and Answer IconNeed help?

Do you have a question about the Texas Instruments Titanium TI-89 and is the answer not in the manual?

Texas Instruments Titanium TI-89 Specifications

General IconGeneral
Display TypeLCD
Display Resolution160 x 100 pixels
Memory188 KB RAM, 2.7 MB Flash ROM
TypeGraphing Calculator
DisplayMonochrome
ProcessorMotorola 68000
Processor Speed12 MHz
Power Source4 AAA batteries
ConnectivityUSB
ProgrammingTI-BASIC, Assembly
Operating SystemAMS (Advanced Mathematics Software)

Related product manuals