<-- Previous || Up || Next -->

Enumerate Units Function
Units Class

Public Function EnumerateUnits( _
    ByVal vUnits As Variant _
    ) As Variant

"Enumerate Units" Enumerate the units and prefixes which are used within a measurement expression. For example, "ft*lb/s^2" would be translated to "foot*avoirdupois pound/second^2" Synonym-type units are replaced by their definitions, and unit codes are replaced by the name of the unit.

Arguments: vUnits is a string containing the symbolic portion of a measurement expression. The measurement expression must not contain any numeric portion.
Return Value: Function returns a string describing the measurements named in the argument. Function returns Null when its argument is Null.
Example:
    EnumerateUnits("KW*hr")
returns "kilowatt*hour".
See Also:
    estConvert Function

Copyright 1996-1999 Entisoft
Entisoft Tools is a trademark of Entisoft.