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 (xpl4home, xpl4data, xpl4help, xpl4prog, xpl4backup, format) format contains the output format used by the printf of the C library.

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, 28.6.1999