The following example illustrates how to open and close a text file for reading.
local integer fid
fid = DKOpen( GetPCIHOME() + "/etc/license.dat", "r" )
call DKClose(fid)
© PCI Geomatics Enterprises, Inc.®, 2026. All rights reserved.