Difference between revisions of "Os.getenv"

From GiderosMobile
(Created page with "__NOTOC__ '''Available since:''' Gideros 2011.6<br/> === Description === Returns the value of the process environment variable varname, or nil if the variable is not defined....")
 
Line 4: Line 4:
 
Returns the value of the process environment variable varname, or nil if the variable is not defined.
 
Returns the value of the process environment variable varname, or nil if the variable is not defined.
 
<source lang="lua">
 
<source lang="lua">
(any), = os.getenv(varname,)
+
(any) = os.getenv(varname)
 
</source>
 
</source>
'''varname:''' (string) name of the variable ''''''<br/>
+
'''varname''': (string) name of the variable ''''''<br/>
 
'''Returns''' (any) value of the variable<br/>
 
'''Returns''' (any) value of the variable<br/>

Revision as of 11:18, 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)

'varname: (string) name of the variable '
Returns (any) value of the variable