getenv()
Reads the value from an environment variable.
Synopsis
string getenv( string );
Parameters
Parameter | Description |
---|---|
none | - |
Return value
Empty string if there is no environment variable.
Error
Description
Reads the value from an environment 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"));
}
Assignment
Miscellaneous functions
Availability
UI, CTRL