Core Function EnvGet
From Sputnik Wiki
(Difference between revisions)
UberFoX (Talk | contribs)
(Created page with "<pre> EnvGet( <tag> ) </pre> === Description === Get the value of an environment variable. === Parameters === ==== tag ==== Name of the environment variable to get such as "...")
Newer edit →
(Created page with "<pre> EnvGet( <tag> ) </pre> === Description === Get the value of an environment variable. === Parameters === ==== tag ==== Name of the environment variable to get such as "...")
Newer edit →
Revision as of 09:35, 29 November 2011
EnvGet( <tag> )
Contents |
Description
Get the value of an environment variable.
Parameters
tag
Name of the environment variable to get such as "TEMP" or "PATH".
Return Value
None.
Remarks
A environment variable set in this way will only be accessible to programs that Sputnik spawns (Run, RunWait).
Once Sputnik closes, the variables will cease to exist.
Example
$var = EnvGet("PATH"); MsgBox("Path variable is: $var");