|
Description
GetStat() is used to retrieve status information about the indicated file.
Call Signature
string GetStat ( string filename )
Return Value
string
The information returned is formatted in a string constant. A blank string is returned if the file does not exit or an error occurs. See Remarks for more details.
Argument
string filename:
A string containing the relative or absolute path to a file, directory or device within the filesystem.
Remarks
The information returned is formatted in a string constant with information located in formatted fields. The string fields are organized as follows:
Field 1 [1,1] - size 1 char and one of: F (file) D (directory) V (device) O (other) Field 2 [2,12] - 11 chars The file size in bytes - right justified
Other information is also appended about mode and access times, but this is not documented as it may be changed in the future.
© PCI Geomatics Enterprises, Inc.®, 2026. All rights reserved.