Texas Instruments TI-89 Titanium Short User Manual page 243

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

Advertisement

setTmFmt()
CATALOG
integer
setTmFmt(
Sets the time format for the desktop according to
the argument and returns the previous time
format value.
setTmZn()
CATALOG
integer
setTmZn(
Sets the time zone according to the argument and
returns the previous time zone value.
The time zone is defined by an integer that gives
the minutes 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.
setUnits()
CATALOG
list1
setUnits(
Sets the default units to the values specified in
, and returns a list of the previous defaults.
list1
• To specify the built-in SI (metric) or ENG/US
system,
{
"SI"
• To specify a custom set of default units,
uses the form:
{
"CUSTOM"
where each
category and its default unit. (You can specify
built-in units only, not user-defined units.) Any
category not specified will use its previous
custom unit.
• To return to the previous custom default units,
list1
{
"CUSTOM"
If you want different defaults depending on the
situation, create separate lists and save them to
unique list names. To use a set of defaults,
specify that list name in
You can use
previously saved with
getUnits() !
Appendix A: Functions and Instructions
) ⇒
integerold
) ⇒
integerold
) ⇒
list
uses the form:
list1
} or {
}
"ENG/US"
,
,
[ ,
cat1
unit1
"
"
"
"
and
pair specifies a
cat
unit
uses the form:
}
setUnits()
to restore settings
setUnits()
setUnits() !
.
var
Integer values:
12 = 12 hour clock
24 = 24 hour clock
If Greenwich Mean Time is 14:07:07, it is:
7:07:07 a.m. in Denver, Colorado (Mountain
Standard Time)
(–420 minutes from GMT)
15:07:07 p.m. in Brussels, Belgium (Central
European Standard Time)
(+60 minutes from GMT)
All unit names must begin with an underscore
_.
@
H
You can also select units from a menu by
pressing:
@
list1
H
setUnits({"SI"}) ¸
,
,
]}
cat2
unit2
"
"
"
"
...
setUnits({"CUSTOM","Length",
"_cm","Mass","_gm"}) ¸
Note: Your screen may display different
units.
.
or with
var
¥
2
2 9
¥ À
{"SI"
"Area"
"Capacitance"
{"SI"
"Length"
"Mass"
"NONE"
"_F"
...}
"_m"
"_kg"
...}
237

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents