beautypg.com

Fnon – Texas Instruments TI-86 User Manual

Page 309

background image

Chapter 20: A to Z Function and Instruction Reference

297

20ATOZ.DOC TI-86, Chap 20, US English Bob Fedorisko Revised: 02/13/01 2:42 PM Printed: 02/13/01 3:05 PM Page 297 of 118

20ATOZ.DOC TI-86, Chap 20, US English Bob Fedorisko Revised: 02/13/01 2:42 PM Printed: 02/13/01 3:05 PM Page 297 of 118

FnOff

Deselects all equation function numbers.

FnOff b

Done

FnOn

† GRAPH VARS menu

FnOn

function#

,

function#

, ...

Selects the specified equation function numbers, in
addition to any others already selected.

FnOn 1,3 b

Done

FnOn

Selects all equation function numbers.

FnOn b

Done

For(

‡ program editor

CTL menu

:For(

variable

,

begin

,

end

,

step

)

or

:For(

variable

,

begin

,

end

)

:

loop

:

loop

:End

:End

:

commands

:

commands

Executes the commands in loop iteratively, where the
number of repetitions is controlled by variable. The first
time through the loop, variable = begin. At the

End

of

the loop, variable is incremented by step. The loop is
repeated until variable > end. If you do not specify step,
the default is 1.

You can specify values such that begin > end. If so, be
sure to specify a negative step.

Program segment:

©

For(A,0,8,2)
Disp A

2

End

©

Displays 0, 4, 16, 36, and 64.

©

For(A,0,8)
Disp A

2

End

©

Displays 0, 1, 4, 9, 16, 25, 36, 49, and 64.