[Back to Interface] [Prev] [Next]

VSgetversion/vsgver

int32 VSgetversion(int32 vdata_id)

vdata_id IN:

Vdata identifier returned by VSattach

Purpose

Returns the version number of a vdata.

Return value

Returns the version number if successful and FAIL (or -1) otherwise.

Description

VSgetversion returns the version number of the vdata identified by the parameter vdata_id. There are three valid version numbers: VSET_OLD_VERSION (or 2), VSET_VERSION (or 3), and VSET_NEW_VERSION (or 4).

VSET_OLD_VERSION is returned when the vdata is of a version that corresponds to an HDF library version before version 3.2.

VSET_VERSION is returned when the vdata is of a version that corresponds to an HDF library version between versions 3.2 and 4.0 release 2.

VSET_NEW_VERSION is returned when the vdata is of the version that corresponds to an HDF library version of version 4.1 release 1 or higher.

FORTRAN

integer vsgver(vdata_id)

integer vdata_id



[Back to Interface] [Prev] [Next]

hdfhelp@ncsa.uiuc.edu
HDF Reference Manual - 07/29/98, NCSA HDF Development Group.