DKSize()

  DKSize

Description

DKSize() is used to determine the size of a disk file in bytes.

Call Signature

int DKSize ( int/string filespec )

Return Value

int

The size in bytes of the file. -1 is returned if the file does not exist, or is not accessible.

Argument

int/string filespec:

This can either be the handle returned by DBOpen(), or the name of an open file.

See also

Binary file functions

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