User's Manual

290
Appendix A: Function and Instruction Reference
99APPX-A.DOC AppxA: Function/Instruction Reference, English Julie Hewlett Revised: 07/29/98 1:10 PM
Printed: 02/07/01 11:23 AM Page 290 of 36
FnOff
[
1,2,3,4
]
FnOn
[
1,2,3,4
]
-}
2:Y-Vars
Turns off (deselects) or on (selects) all
Y
n
functions
or specified
Y
n
functions (
Y
1
,
Y
2
,
Y
3
, or
Y
4
).
FnOff 1,3
b
Done
FnOn 2
b
Done
:
For(
variable
,
begin
,
end
,[
increment
]
)
:
block
(while
variable
end
)
:
End
:
command
8
CTL
Programming command; executes commands in
block
through
end
, increasing
variable
from
begin
by
increment
until
variable
>
end
.
PROGRAM:FOR
:For(A,0,8,2)
:Disp A
2
:Pause
:End
fPart(
value
)
1
NUM
Returns the fractional part of a real number,
expression, or each element in a list.
fPart(23.45)
b
.45
fPart(
L
17.26
¦
8)
b
L
.08
fPart({1.2,3.4,5.6})
b
{.2 .4 .6}
fPart(1
1
2
)
1
2
gcd(
valueA
,
valueB
)
1
MATH
Returns the greatest common divisor (the largest
number that can divide into the two
values
evenly), of
two positive whole numbers or lists of positive whole
numbers.
gcd(27,36)
b
9
27
36
4
Simp 9
b
3
4
Get(
variable
)
8
I/O
–or–
-|
Gets data from a CBR or CBL 2/CBL System and stores
it in
variable
.
PROGRAM:GETSOUND
:Send ({3,.00025,99,1,0,0,0,0,
13})
:Get(L
1)
:Get(L
2)
GetCalc(
variable
)
8
I/O
or
-|
Gets contents of
variable
from another TI
N
73 and
stores it to
variable
on the receiving TI
N
73.
PROGRAM:GETCALC
:GetCalc(L
1
)
:GetCalc(Y
1
)
:GetCalc(Pic1)
getKey
8
I/O
Programming command; returns the key code for the
current keystroke. See Chapter 12: Programming for
the Key Code Diagram displayed with the
GetKey
explanation.
PROGRAM:GETKEY
:Lbl A
:0
"
K
:While K=0
:getKey
"
K
:End
:Disp K
:If K
ƒ
45
:Goto A