Appendix A: Functions and Instructions
803
getTmZn()
CATALOG
getTmZn()
⇒
integer
Returns an integer representing the time zone that
is currently set on the device.
The returned integer represents the number of
minutes the time zone is offset from Greenwich
Mean Time (GMT), as established in Greenwich,
England. For example, if the time zone is offset from
GMT by two hours, the device would return 120
(minutes).
Integers for time zones west of GMT are negative.
Integers for time zones east of GMT are positive.
If Greenwich Mean Time is 14:07:07, it is:
8:07:07 a.m. in Denver, Colorado (Mountain
Daylight Time)
(–360 minutes from GMT)
16:07:07 p.m. in Brussels, Belgium (Central
European Standard Time)
(+120 minutes from GMT)
getType()
CATALOG
getType(
var
)
⇒
string
Returns a string indicating the data type of variable
var
.
If
var
has not been defined, returns the string
"
NONE
".
{1,2,3}
!
temp
¸
{1 2 3}
getType(temp)
¸
"LIST"
2+3
i
!
temp
¸
2
+
3
i
getType(temp)
¸
"EXPR"
DelVar temp
¸
Done
getType(temp)
¸
"NONE"
Data Type
Variable Contents
"ASM"
Assembly-language program
"DATA"
Data type
"EXPR"
Expression (includes complex/arbitrary/undefined,
ˆ
,
ë
ˆ
, TRUE, FALSE, pi,
e)
"FUNC"
Function
"GDB"
Graph data base
"LIST"
List
"MAT"
Matrix
"NONE"
Variable does not exist
"NUM"
Real number
"OTHER"
Miscellaneous data type for future use by software applications
"PIC"
Picture
"PRGM"
Program
"STR"
String
"TEXT"
Text type
"VAR"
Name of another variable
getUnits()
CATALOG
getUnits()
⇒
list
Returns a list of strings that contain the current
default units for all categories except constants,
temperature, amount of substance, luminous
intensity, and acceleration.
list
has the form:
{"
system
" "
cat1
" "
unit1
" "
cat2
" "
unit2
" …}
The first string gives the system (
SI
,
ENG/US
, or
CUSTOM
). Subsequent pairs of strings give a
category (such as Length) and its default unit (such
as _m for meters).
To set the default units, use
setUnits()
.
getUnits()
¸
{"SI" "Area" "NONE"
"Capacitance" "_F"
"Charge" "_coul"
… }
Note:
Your screen may display different default
units.
Summary of Contents for Titanium TI-89
Page 9: ...Getting Started 6 TI 89 Titanium keys Ë Ì Í Ê ...
Page 34: ...Getting Started 31 2 or D 2 B u s i n e s s D B D B Press Result ...
Page 43: ...Getting Started 40 3 0 D B D D B D Press Result ...
Page 44: ...Getting Started 41 D 2 0 0 2 D B Scroll down to October and press Press Result ...
Page 58: ...Getting Started 55 Example Set split screen mode to TOP BOTTOM Press Result 3 B D ...
Page 70: ...Getting Started 67 ...
Page 175: ...Operating the Calculator 172 From the Keyboard ...
Page 456: ...Tables 453 ...
Page 527: ...Data Matrix Editor 524 ...