[Top] [Prev] [Next] [Bottom]

SDsetdimval_comp/sfsdmvc

intn SDsetdimval_comp(int32 dim_id, intn comp_mode)
dim_id

IN:

Dimension identifier returned from SDgetdimid

comp_mode

IN:

Compatibility mode to be set

Purpose

Determines whether the specified dimension will have the old and new representations or the new representation only.

Return value

Returns either SUCCEED (or 0) on successful completion, or FAIL (or -1) otherwise.

Description

The comp_mode parameter is set to either SD_DIMVAL_BW_COMP, which specifies compatible mode and that the old and new dimension representations will be written to file , or SD_DIMVAL_BW_INCOMP, which specifies backward incompatible mode and that only the new dimension representation will be written to file.

Unlimited dimensions are always backward-compatable, therefore SDsetdimval_comp takes no action on unlimited dimensions.

As of HDF4.1r1, the default mode is backward-incompatable. Subsequent calls to SDsetdimval_comp will override the settings established in previous calls to the routine.`

FORTRAN

integer function sfsdmvc(dim_id, comp_mode)

integer dim_id, comp_mode



[Top] [Prev] [Next] [Bottom]

hdfhelp@ncsa.uiuc.edu
HDF User's Reference Manual, Draft 06/09/97, NCSA HDF Development Group.