Getunits(), Goto, 4444 grad – Texas Instruments TITANIUM TI-89 User Manual

Page 828: 828 appendix a: functions and instructions

Advertising
background image

828

Appendix A: Functions and Instructions

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.

Goto

CATALOG

Goto

labelName

Transfers program control to the label

labelName

.

labelName

must be defined in the same program

using a

Lbl

instruction.

Program segment:

©

:0!temp

:1!i

:Lbl TOP

: temp+i!temp

: If i<10 Then

: i+1!i

: Goto TOP

: EndIf

:Disp temp

©

4444Grad

CATALOG/MATH/Angle menu

4444

Grad

expression

Converts an expression to gradian angle measure.

In Degree angle mode:

1.5 4Grad ¸ 1.66667

G

In Radian angle mode:

1.5 4Grad ¸ 95.493

G

Advertising