Actions
$envvar » History » Revision 1
Revision 1/9
| Next »
Per Amundsen, 01/24/2015 07:17 PM
Added in 1.9.6
$envvar(name|N)
Returns environment variables. If N is zero, returns total number of environment variables.
Properties
.name - ?
.value - ?
Parameters
name|N - Name of the variable or the N'th variable.
Example
; List number of variables. //echo -ag Number of variables is $envvar(0) ; List the name of the 16'th variable. //echo -ag The 16'th variable is $envvar(15) ; List the value of the 'APPDATA' variable. //echo -ag Value of APPDATA is $envvar(APPDATA)
Updated by Per Amundsen almost 10 years ago · 1 revisions