Texas Instruments TI-89 사용자 설명서

다운로드
페이지 1008
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
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
:--------