DKSize

Demonstrates how to retrieve the size of a file.

Remarks

This example illustrates how to retrieve the size of PRM.PRM file.

Output

Code

  print "PRM.PRM is ", DKSize("PRM.PRM"), " bytes in size."

Sample output:

PRM.PRM is 309760 bytes in size.

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