Core Function EnvSet
From Sputnik Wiki
(Difference between revisions)
UberFoX (Talk | contribs)
(Created page with "<pre> EnvSet( <tag>, <expression> ) </pre> === Description === Set the value of an environment variable. === Parameters === ==== tag ==== Name of the environment variable to...")
Newer edit →
(Created page with "<pre> EnvSet( <tag>, <expression> ) </pre> === Description === Set the value of an environment variable. === Parameters === ==== tag ==== Name of the environment variable to...")
Newer edit →
Revision as of 09:34, 29 November 2011
EnvSet( <tag>, <expression> )
Contents |
Description
Set the value of an environment variable.
Parameters
tag
Name of the environment variable to set.
expression
Value to set the environment variable to.
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
EnvSet("MYENV", "this is a test"); MsgBox( EnvGet("MYENV") );