Project

General

Profile

$envvar » History » Version 8

Per Amundsen, 07/23/2020 11:56 PM

1 1 Per Amundsen
_Added in 1.9.6_
2
3
*$envvar(name|N)*
4
5 6 Per Amundsen
Returns environment variables.
6 1 Per Amundsen
7 8 Per Amundsen
_Returns different variable values between 64 bit and 32 bit AdiIRC._
8 7 Per Amundsen
9 1 Per Amundsen
*Properties*
10
11 2 Per Amundsen
.name - Return name of the variable.
12
.value - Return value of the variable.
13 1 Per Amundsen
14
*Parameters*
15
16 6 Per Amundsen
name|N - Name of the variable, if N = 0, total number of variables, otherwise the Nth variable.
17 1 Per Amundsen
18
*Example*
19
20
<pre>
21
; List number of variables.
22
//echo -ag Number of variables is $envvar(0)
23
24 5 Per Amundsen
; List the name of the 15th variable.
25
//echo -ag The 15th variable is $envvar(15)
26 1 Per Amundsen
27
; List the value of the 'APPDATA' variable.
28
//echo -ag Value of APPDATA is $envvar(APPDATA)
29
</pre>