Routines (alphabetical) > Routines: H > HDF-EOS Routines > EOS_PT_LEVELINFO

# EOS_PT_LEVELINFO

This function returns information about the fields in a given level. Typical reasons for failure are an improper point id or level number.

## Examples

In this example, we return information about the Desc-Loc (1st) level defined previously:

nflds = EOS_PT_LEVELINFO(pointID2, 0, fldlist, fldtype, fldorder)

The last variable is useful only when information on an entire point is requested.

## Syntax

Result = EOS_PT_LEVELINFO(pointID, level, fieldlist, fldtype, fldorder)

## Return Value

Returns number of fields if successful and FAIL (–1) otherwise.

## Arguments

### pointID

Point id (long) returned by EOS_PT_CREATE or EOS_PT_ATTACH.

### level

Point level (0-based long).

### fieldlist

A named variable that will contain field names (string) in level.

### fldtype

A named variable that will contain the number HDF data type (long) of each field.

### fldorder

A named variable that will contain the order (long) of each field.

## Keywords

None

## Version History

5.2 | Introduced