environment_get_variable(name)
Revision as of 19:06, 24 December 2017 by RobertBColton (talk | contribs)
Description
Gets the value of the given environment variable and returns it.
Parameters
Parameter | Data Type | Description |
---|---|---|
name | string | name of the environment variable |
Return Values
string: Returns the value of the environment variable
Example Call
// demonstrates obtaining the path of the AppData folder on Windows
var path;
path = environment_get_variable("APPDATA");