Project

General

Profile

$envvar » History » Revision 8

Revision 7 (Per Amundsen, 07/23/2020 11:55 PM) → Revision 8/9 (Per Amundsen, 07/23/2020 11:56 PM)

_Added in 1.9.6_ 

 *$envvar(name|N)* 

 Returns environment variables. 

 _Returns different variable values between when running 64 bit and or 32 bit AdiIRC._ 

 *Properties* 

 .name - Return name of the variable. 
 .value - Return value of the variable. 

 *Parameters* 

 name|N - Name of the variable, if N = 0, total number of variables, otherwise the Nth variable. 

 *Example* 

 <pre> 
 ; List number of variables. 
 //echo -ag Number of variables is $envvar(0) 

 ; List the name of the 15th variable. 
 //echo -ag The 15th variable is $envvar(15) 

 ; List the value of the 'APPDATA' variable. 
 //echo -ag Value of APPDATA is $envvar(APPDATA) 
 </pre>