getenv()

Returns a string representing the configuration variable value. If the name of the configuration file is given, then the configuration variable values are obtained from the named environment file. If the name of the configuration variable is not specified, an application-specific default is used.

See also: expandenv(), setenv().

Syntax:

getenv(name[, conf]);

where

name is the name of configuration variable.

conf is optional. Name of configuration file to use. In an attempt to locate the file, the program searches the following directories, in this order: project directory, home directory, custom directory, installation directory. The file name should be specified without a trailing .cfg. Entering a path for this file is not allowed.

Example:
decl val;
val = getenv("LAYERS_PATH");

Download Example File:

The following link(s) lead to the Agilent EEsof EDA Knowledge center website. You will need to register at this site with a valid support contract to download an example file.

Read Configuration File

Where Used:

Measurement Expressions (Data Display equations and Schematic MeasEqns), Schematic, Layout, Simulation, GUI

 

Privacy Statement  | Terms of Use  | Legal | Contact Us  | © Agilent 2000-2008 

Contents
Additional Resources