../pvss.htm menu.gif basics.gif

getenv()

Reads the value from an environmental variable.

Synopsis

string getenv( string );

Parameters

Return value

Empty string if there is no environmental variable.

Errors

 

Description

Reads the value from an environmental variable. If a value is not present, an empty string will be returned.

IconExample

The following example outputs the "PATH"; variable.

main()

{

DebugN(getenv("PATH"));

}

Relates to

Miscellaneous functions

Availability

UI, CTRL, DP

See also

Top Of Page

 

V 3.11 SP1

Copyright ETM professional control GmbH 2013 All Rights Reserved