Synopsis

PDX_MSGT iges_GetUnitString(long option, int flag, char *string)

Purpose

Convert a global unit flag to a string.

Description

This function returns the units string corresponding to the specified units flag value. The string buffer should be dimensioned to at least 5 characters. The returned string will be in null-terminated format. For a flag value of 3, a zero-length string will be returned. For a flag value of 1, the string IN (as opposed to INCH) will be returned.

Input

option

Options (not used)

flag

The integer unit flag to be converted

string

Address of a 5+ character buffer to store string

Output

string

Buffer loaded with corresponding string

Return

IGES error code