Retrieves the field name information in the GSA attribute file by column number.
Syntax
intl gdlGetAttributeNameByNumber ( gdlFileHandle hFile, intl fieldNumber, pstr name, intl bufSize );
Arguments
hFile
A gdlFileHandle. Input.
fieldNumber
Column of the attribute in the GSA file. Output.
name
A buffer to hold the found attribute name. Output.
bufSize
The size of the buffer that contains the identifier of the object in which the point is located. If the buffer size is smaller than the identifier, the identifier is truncated. Input.
Return Value
GDL_OK
GDL_ERROR
Prerequisites
gdlOpenSpatialFile
Alternates
None.
Notes
The gdlGetAttributeNameByNumber is a convenience function. The gdlGetAttributeInfoByNumber function might be used more often to return the column name by column number.