Difference between revisions of "Os.getenv"

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

Revision as of 13:33, 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