Texas Instruments TI-89 Titanium Short User Manual page 199

Hide thumbs Also See for TI-89 Titanium:
Table of Contents

Advertisement

getKey()
CATALOG
getKey() ⇒
Returns the key code of the key pressed. Returns
0 if no key is pressed.
The prefix keys (shift ¤, second function 2,
option ¥, alpha j, and drag ‚) are not
recognized by themselves; however, they modify
the keycodes of the key that follows them. For
example: ¥ Ù ƒ Ù ƒ 2 Ù.
For a listing of key codes, see Appendix B.
getMode()
CATALOG
modeNameString
getMode(
getMode("ALL
If the argument is a specific mode name, returns
a string containing the current setting for that
mode.
If the argument is
pairs containing the settings of all the modes. If
you want to restore the mode settings later, you
must store the
variable, and then use
modes.
For a listing of mode names and possible settings,
see
setMode()
Note: To set or return information about the
Unit System
instead of
getNum()
MATH/Algebra/Extract menu
expression1
getNum(
Transforms
common denominator, and then returns its
numerator.
getTime()
CATALOG
getTime() ⇒
Returns a list giving the time according to the
current value of the clock. The list is in
{
hour,minute,second
in the 24 hour format.
getTmFmt()
CATALOG
getTmFmt() ⇒
Returns an integer representing the clock time
format that is currently set on the device.
Appendix A: Functions and Instructions
integer
) ⇒
string
) ⇒
ListStringPairs
"
, returns a list of string
"ALL"
getMode("ALL")
setMode()
.
mode, use
setUnits()
or
setMode()
getMode()
) ⇒
expression
expression1
into one having a reduced
list
} format. The time is returned
integer
Program listing:
:Disp
:Loop
:
getKey()! key
:
while key=0
:
:
EndWhile
:
Disp key
:
If key = ord("a")
:
Stop
:EndLoop
getMode("angle") ¸
getMode("graph") ¸ "FUNCTION"
getMode("all") ¸
result in a
to restore the
or
getUnits()
.
Note: Your screen may display different
mode settings.
getNum((x+2)/(yì 3)) ¸
getNum(2/7) ¸
getNum(1/x+1/y) ¸
Integer values:
12 = 12 hour clock
24 = 24 hour clock
getKey()! key
{"Graph" "FUNCTION"
"Display Digits" "FLOAT 6"
"Angle" "RADIAN"
"Exponential Format" "NORMAL"
"Complex Format" "REAL"
"Vector Format" "RECTANGULAR"
"Pretty Print" "ON"
"Split Screen" "FULL"
"Split 1 App" "Home"
"Split 2 App" "Graph"
"Number of Graphs" "1"
"Graph 2" "FUNCTION"
"Split Screen Ratio"
"Exact/Approx" "AUTO"
"Base" "DEC"}
"RADIAN"
"1,1"
x + 2
2
x + y
193

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents