PICKUNITS

Purpose:

Selects units from a pop-up list.

Syntax:

PICKUNITS(mode)

mode

-

Optional. An integer, the format of the returned units string:

  0:

Long name (default)

  1:

Abbreviation

  2:

Both long name and abbreviation

Returns:

The selected units as a string or a string of length 0 if no units were selected.

Example:

pickunits

 

returns the selected units

 

strlen(pickunits)

 

returns > 0 if a units was selected, else 0.

See Also:

OBJECTLIST

PICKLIST

UNITS