Project

General

Profile

$envvar » History » Version 1

Per Amundsen, 01/24/2015 07:17 PM

1 1 Per Amundsen
_Added in 1.9.6_
2
3
*$envvar(name|N)*
4
5
Returns environment variables. If N is zero, returns total number of environment variables.
6
7
*Properties*
8
9
.name - ?
10
.value - ?
11
12
*Parameters*
13
14
name|N - Name of the variable or the N'th variable.
15
16
*Example*
17
18
<pre>
19
; List number of variables.
20
//echo -ag Number of variables is $envvar(0)
21
22
; List the name of the 16'th variable.
23
//echo -ag The 16'th variable is $envvar(15)
24
25
; List the value of the 'APPDATA' variable.
26
//echo -ag Value of APPDATA is $envvar(APPDATA)
27
</pre>