Texas Instruments TITANIUM TI-89 User Manual
Page 614
![background image](/manuals/213780/614/background.png)
Programming
614
For example:
Ê
Initially sets x.
Ë
Displays 0, 1, 2, 3, and 4.
Ì
Increments x.
Í
Displays 5. When x increments to 5, the loop is not executed.
Loop...EndLoop Loops
Loop...EndLoop Loops
Loop...EndLoop Loops
Loop...EndLoop Loops
A
Loop...EndLoop
creates an infinite loop, which is repeated endlessly. The
Loop
command does not have any arguments.
К
Л
М
Н
:0
!
x
:While x<5
: Disp x
: x+1
!
x
:EndWhile
:Disp x
:Loop
: --------
: --------
:EndLoop
:--------