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
©
4
44
4Grad CATALOG/MATH/Angle menu
4
44
4 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