16–10 Programming
82E978~1.DOC TI-83 international English Bob Fedorisko Revised: 10/26/05 1:47 PM Printed: 10/27/05 3:02
PM Page 10 of 22
Else following If.Then executes a group of commands if
condition is false (zero).
End identifies the end of the group of
commands.
:If condition
:Then
:
command (if true)
:command (if true)
:Else
:
command (if false)
:command (if false)
:End
:
command
Program Output
For( loops and increments. It increments variable from begin to
end by increment. increment is optional (default is 1) and can be
negative (end<begin). end is a maximum or minimum value not
to be exceeded.
End identifies the end of the loop. For( loops
can be nested.
:For(variable,begin,end[,increment])
:
command (while end not exceeded)
:command (while end not exceeded)
:End
:
command
Program Output
PRGM CTL (Control) Instructions (continued)
If.Then.Else
For(