Difference between revisions of "Os.getenv"

From GiderosMobile
Line 6: Line 6:
 
(any) = os.getenv(varname)
 
(any) = os.getenv(varname)
 
</source>
 
</source>
'''varname''': (string) name of the variable ''''''<br/>
+
=== Parameters ===
 +
'''varname''': (string) name of the variable <br/>
 +
=== Return values ===
 
'''Returns''' (any) value of the variable<br/>
 
'''Returns''' (any) value of the variable<br/>

Revision as of 10:44, 23 August 2018

Available since: Gideros 2011.6

Description

Returns the value of the process environment variable varname, or nil if the variable is not defined.

(any) = os.getenv(varname)

Parameters

varname: (string) name of the variable

Return values

Returns (any) value of the variable