Siebel eScript Language Reference > C Language Library Reference > Other Clib Methods >

Clib Get Environment Variable Method


The Get Environment Variable method returns the value of an environment variable.

Format

Clib.getenv(varName)

Table 188 describes the arguments for the Get Environment Variable method.

Table 188. Arguments for the Get Environment Variable Method
Argument
Description

varName

The name of an environment variable, enclosed in quotes.

Example

The following example returns the value of the PATH environment variable:

TheApplication().RaiseErrorText("PATH= " + Clib.getenv("PATH"));

Siebel eScript Language Reference Copyright © 2013, Oracle and/or its affiliates. All rights reserved. Legal Notices.