Texas Instruments TITANIUM TI-89 User Manual page 612

Titanium graphing calculator
Hide thumbs Also See for TITANIUM TI-89:
Table of Contents

Advertisement

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

Advertisement

Table of Contents
loading

This manual is also suitable for:

Ti-89 voyage 200Titanium ti-89

Table of Contents