RelTmpNam

Demonstrates how to generate a "safe" temporary file name.

Remarks

The following example uses RelTmpNam() to get a safe temporary filename in the user directory.

Code

  local string file_name

  file_name = RelTmpNam( GetPCIHOME()  )

  print file_name

Output

Sample output:

c:\pci\user\92136000.tmp

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