DKOpen and DKClose

Demonstrates how to access a text file.

Remarks

The following example illustrates how to open and close a text file for reading.

Code

  local integer fid
  fid = DKOpen( GetPCIHOME() + "/etc/license.dat", "r" )
  call DKClose(fid)

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