Texas Instruments TI-89 User Manual - Page 873
setTmZn, setUnits, GMT, as established in Greenwich, England.
UPC - 033317196326
View all Texas Instruments TI-89 manuals
Add to My Manuals
Save this manual to your list of manuals |
Page 873 highlights
setTmZn() CATALOG setTmZn(integer) ⇒ integerold If Greenwich Mean Time is 14:07:07, it is: 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). 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) Integers for time zones west of GMT are negative. Integers for time zones east of GMT are positive. setUnits() CATALOG setUnits(list1) ⇒ list Sets the default units to the values specified in list1, and returns a list of the previous defaults. All unit names must begin with an underscore _. ¥ • To specify the built-in SI (metric) or ENG/US system, list1 uses the form: You can also select units from a menu by pressing: {"SI"} or {"ENG/US"} • To specify a custom set of default units, list1 uses the form: {"CUSTOM", "cat1", "unit1" [ , "cat2", "unit2", ...]} 2 9 setUnits({"SI"}) ¸ {"SI" "Area" "NONE" "Capacitance" "_F" ...} where each cat and unit pair specifies a 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. setUnits({"CUSTOM","Length", "_cm","Mass","_gm"}) ¸ {"SI" "Length" "Mass" "_kg" "_m" ...} Note: Your screen may display different units. • To return to the previous custom default units, list1 uses the form: {"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 setUnits(). You can use setUnits() to restore settings previously saved with setUnits() ! var or with getUnits() ! var. Appendix A: Functions and Instructions 873