Keywords - Function groups - @ A B C D E F G H I J K L M N O P Q R S T U V W X Y Z

Group: Information and Control
See also: library setenv

Function: getenv
Description: getenv reads the content of an environment variables set by the program or by the ini-file.

Usage: x = getenv ({envname})
Input:
envname name of the environment (see setenv for more details)
Output:
x text containing the value of the envrironment

Note:

Example:

getenv ()
Result:

returns all existing environment variables     
Example:

getenv("xpl4home")
getenv("outputformat")
Result:

text of xpl4home is printed to the output window
the output format string (default is "% 8.5lg")

Group: Information and Control
See also: library setenv

Keywords - Function groups - @ A B C D E F G H I J K L M N O P Q R S T U V W X Y Z

(C) MD*TECH Method and Data Technologies, 17.8.2000