Routines (alphabetical) > Routines: N > NCDF Routines > NCDF_VARIDSINQ

# NCDF_VARIDSINQ

The NCDF_VARIDSINQ function returns a group’s variable IDs.

## Examples

See the example for NCDF_GROUPNAME.

## Syntax

Result = NCDF_VARIDSINQ( Grpid )

## Return Value

Returns an array of variable IDs associated with the group. If the group contains no variables, the scalar value -1 is returned.

## Arguments

### Grpid

The ID of the group to query, returned from a previous call to NCDF_OPEN, NCDF_CREATE, or NCDF_GROUPDEF.

## Keywords

None

## Version History

8.0 | Introduced

## See Also

NCDF_VARDEF, NCDF_VARPUT