Reads the value from an environmental variable. |
Synopsis
string getenv( string ); |
Parameters
Parameters |
Meaning |
none |
- |
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. |
Example |
The following example outputs the "PATH"; variable. |
main() |
{ |
DebugN(getenv("PATH")); |
} |
Relates to
Miscellaneous functions |
Availability
UI, CTRL, DP |
See also
V 3.11 SP1
Copyright