16-10 Programming
8316PROG.DOC TI-83 international English Bob Fedorisko Revised: 02/19/01 1:23 PM Printed: 02/19/01 1:39
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
If-Then-Else
For(