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

VSsetinterlace/vsfsint

intn VSsetinterlace(int32 vdata_id, int32 interlace)
vdata_id

IN:

Vdata access identifier returned from VSattach

interlace

IN:

Interlace mode for storing data

Purpose

Sets the interlace mode of the specified vdata.

Return value

Returns SUCCEED (or 0) if successful and FAIL (or -1) otherwise.

Description

VSsetinterlace determines the interlace mode for the field data written to the specified vdata. The interlace may be specified by either FULL_INTERLACE or NO_INTERLACE. If this routine is not called the default interlace mode is FULL_INTERLACE. The FULL_INTERLACE option is more efficient than NO_INTERLACE although both require the same amount of disk space. This routine can only be used when creating new vdatas with write access.

Specifying FULL_INTERLACE fills the vdata by record - i.e. all fields in a record are filled before moving to the next record. Specifying NO_INTERLACE fills the vdata by field - i.e. the first field in each record is filled before moving to next series of fields.

FORTRAN

integer function vsfsint(vdata_id, interface)

integer vdata_id, interlace



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

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