Texas Instruments TI-89 Benutzerhandbuch

Seite von 1008
Programming
 611
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
For...EndFor Loops
For...EndFor Loops
For...EndFor Loops
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 
Ê
Ë
Ì
Í