User`s guide

SdfScansUsed
Syntax long SdfScansUsed (short fn);
Returns A long integer of greater than or equal to minus one. The return value is the
number of scans in the SDF file. A return of 0 indicates no scan data; a return of
1
indicates an error.
This function returns the number of scans in an open SDF file, where fn is the number of the open SDF
file (for details, see SdfOpen).
ThenumberofscansisintheSDF_SCAN_BIGheaderifitexistsinthefile,orthe
SDF_SCAN_STRUCT header if it exists in the file. If neither of these headers are in the file, then there
is no scan data.
Using SDF Data with C Programs
SdfScansUsed
6-13