.unit
Definition
The
.unit
suffix returns the unit of the identifier at hand.
Datatype
The datatype of the
.unit
suffix is string
Dimension
The
.unit
suffix is scalar.
Note
This suffix is typically used with an index into the set
AllIdentifiers
, as illustrated in the common example in Listing 2.See also the function
IdentifierUnit
See also Working with the Set AllIdentifiers of the Language Reference.