environment_get_variable(name)

From ENIGMA
Revision as of 19:06, 24 December 2017 by RobertBColton (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

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");