GetEnv

Demonstrates how to retrieve the value of an environment variable.

Remarks

This example the environment variable "PCILIC" (Assuming that PCI Geomatics sofware has already been installed on the system).

Code

  local string        pcilic

  pcilic = GetEnv( "PCILIC" )
  print pcilic

Output

Sample output on the PC System:

 c:\pci_v90\etc\license.dat

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