beautypg.com

Texas Instruments TI-84 User Manual

Page 442

background image

Chapter 16: Programming

439

For(

For(

For(

For(

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