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

# EOS_PT_INQPOINT

This function retrieves the number and names of points defined in an HDF-EOS file. The point list is returned as a string with each point name separated by a comma.

Note: See STRSPLIT to separate the attribute list.

## Examples

In this example, we retrieve information about the points defined in an HDF-EOS file, HDFEOS.hdf:

npoint = EOS_PT_INQPOINT("HDFEOS.hdf", pointlist)

## Syntax

Result = EOS_PT_INQPOINT( filename, pointlist [, LENGTH=variable] )

## Return Value

Returns number of points found or (–1) if failure.

## Arguments

### filename

HDF-EOS filename (string).

### pointlist

A named variable that will contain the point list (string) entries separated by commas.

## Keywords

### LENGTH

Set this keyword to a named variable that will contain the length of the point list as a long integer.

## Version History

5.2 | Introduced