This function retrieves information about the data fields defined in grid. The field list is returned as a string with each data field separated by commas. The rank and numbertype arrays will have an entry for each field.

Note: See STRSPLIT to separate the field list.

Examples


To retrieve information about the data fields, use the following statement:

nfld = EOS_GD_INQFIELDS(gridID, fieldlist, rank, numbertype)

Syntax


Result = EOS_GD_INQFIELDS(gridID, fieldlist, rank, numbertype)

Return Value


Number of data fields found. If FAIL(–1), could signify an improper grid id.

Arguments


gridID

Grid id (long) returned by EOS_GD_CREATE or EOS_GD_ATTACH.

fieldlist

A named variable that will contain the listing of data fields (string) with entries separated by commas.

rank

A named variable that will contain the array (long) containing the rank of each data field.

numbertype

A named variable that will contain the array (long) containing the numbertype of each data field.

Keywords


None

Version History


5.2

Introduced