|
Description
DKOpen() is used to establish access to a binary file.
Call Signature
int DKOpen ( string file name [, string access_type] )
Return Value
int
A non-zero number is returned on sucess, 0 is returned if the call fails.
Arguments
string file name:
Path name of binary file to access.
[ string access_type]:
One of "r" for read access, "w" for write access and "r+" for update access. This field defaults to "r" for read access if not specified.
Remarks
An access_type of "w" will delete the existing file contents, while an access type of "r+" will allow reading and updating of the existing file.
The file handle returned may be used with the DKRead() and DKWrite() intrinsic functions. Access to a binary file is released in EASI by calling DKClose().
See also
© PCI Geomatics Enterprises, Inc.®, 2026. All rights reserved.