Constants and Measurement Units 289
Rules for User-Defined Unit Names
Rules for User-Defined Unit NamesRules for User-Defined Unit Names
Rules for User-Defined Unit Names
The naming rules for units are similar to variables.
• Can have up to 8 characters.
• First character must be an underscore. For
_, press:
2 5
• Second character can be any valid variable name character except
_ or a digit. For
example, _9f is not valid.
• Remaining characters (up to 6) can be any valid variable name character except an
underscore.
Defining a Unit
Defining a UnitDefining a Unit
Defining a Unit
Define a unit the same way you store to a variable.
For example, to define a dekameter unit:
10_m !_dm
To define an acceleration unit:
_m/_s^2 !_ms2
definition !_newUnit
For !, press 9
Assuming unit
defaults for Length
and Time are set to
_m and _s.