Programming
595
You can then begin entering the commands that will be executed in the loop.
Note:
A loop command marks the start of the loop. The corresponding
End
command
marks the end of the loop.
For...EndFor Loops
A
For...EndFor loop
uses a counter to control the number of times the loop is repeated.
The syntax of the
For
command is:
Note:
The ending value can be less than the beginning value, but the increment must be
negative.
When you select a loop, the loop command
and its corresponding
End
command are
inserted at the cursor location.
:For |
Ê
:EndFor
Ê
If the loop requires
arguments, the cursor
is positioned after the
command.
For(
variable
,
begin
,
end
[,
increment
]
)
Ê
variable used as a counter
Ë
counter value used the first time
For
is executed
Ì
exits the loop when variable exceeds this value
Í
added to the counter each subsequent time
For
is executed
Ê
Ë
Ì
Í
Summary of Contents for Titanium TI-89
Page 9: ...Getting Started 6 TI 89 Titanium keys Ë Ì Í Ê ...
Page 34: ...Getting Started 31 2 or D 2 B u s i n e s s D B D B Press Result ...
Page 43: ...Getting Started 40 3 0 D B D D B D Press Result ...
Page 44: ...Getting Started 41 D 2 0 0 2 D B Scroll down to October and press Press Result ...
Page 58: ...Getting Started 55 Example Set split screen mode to TOP BOTTOM Press Result 3 B D ...
Page 70: ...Getting Started 67 ...
Page 175: ...Operating the Calculator 172 From the Keyboard ...
Page 456: ...Tables 453 ...
Page 527: ...Data Matrix Editor 524 ...