Programmer Guide/Command Reference/ENV: Difference between revisions

From STX Wiki
Jump to navigationJump to search
m (1 revision: Initial import)
No edit summary
Line 1: Line 1:
{{DISPLAYTITLE:{{SUBPAGENAME}}}}
{{DISPLAYTITLE:{{SUBPAGENAME}}}}
==ENV==
<var>var</var> := ENV windowsvar
 
The <code>ENV</code> statement retrieves the value of an environment variable from Windows. On no such environment variable existing, <code>ENV</code> will return an empty string, not considering this cause for alarm.
<code>var := ENV windowsvar</code>
<!-- C.G. 23.3.2011 -->
 
-> var = 'valueofwindowsvar' or empty if not found
 
Get value of windows environment variable.

Revision as of 19:29, 23 March 2011

var := ENV windowsvar

The ENV statement retrieves the value of an environment variable from Windows. On no such environment variable existing, ENV will return an empty string, not considering this cause for alarm.

Navigation menu

Personal tools