This function returns the number of entries and descriptive string buffer size for a specified entity.
Examples
In this example, we determine the number of data field entries:
ndims = EOS_GD_NENTRIES(gridID, 4)
Syntax
Result = EOS_GD_NENTRIES( gridID, entrycode [, LENGTH=variable] )
Return Value
Number of entries or FAIL(–1) which could signify an improper grid id or entry code.
Arguments
gridID
Grid id (long) returned by EOS_GD_CREATE or EOS_GD_ATTACH.
entrycode
Entrycode (long). Allowable values are:
- 0 = Dimensions
- 4 = Datafields
Keywords
LENGTH
Set this keyword to a named variable that will contain the length of the string returned by the corresponding inquiry routine as a long integer.
Version History