FDReferenceCount()

  FDDereference, FDReference, and FDReferenceCount

Description

FDReferenceCount() is used to retrive the reference or usage count for a file.

Call Signature

int FDReferenceCount ( int/string filespec )

Return Value

int

The current reference count value for the passed file_spec.

Argument

int/string filespec:

This can either be the handle returned by DKOpen()/TextOpen()/DBOpen(), or the name of such a file.

Remarks

The count is normally 1 after an open, and reflects the number of portions of the application/script that are using the file.

© PCI Geomatics Enterprises, Inc.®, 2026. All rights reserved.