GetEnv()

  GetEnv

Description

GetEnv() is used to retrive the value of an environment variable.

Call Signature

string GetEnv ( string variable )

Return Value

string

Returns the value of the environment variable. If the variable is empty a string of one space is returned. If it is not found, an empty string will be returned. See the Remarks section for Windows specific issues.

Argument

string variable:

The name of an environment variable to search for. This is case sensitive.

Remarks

On Windows, the following windows registry path is also searched: HKEY_LOCAL_MACHINE/Software/CATALYST Professional

See also

SetEnv()

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