Difference between revisions of "Os.getenv"
From GiderosMobile
Line 1: | Line 1: | ||
__NOTOC__ | __NOTOC__ | ||
− | '''Available since:''' Gideros 2011.6<br/> | + | '''<translate>Available since</translate>:''' Gideros 2011.6<br/> |
− | === Description === | + | === <translate>Description</translate> === |
<translate>Returns the value of the process environment variable varname, or nil if the variable is not defined.</translate> | <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 === | + | === <translate>Parameters</translate> === |
'''varname''': (string) <translate>name of the variable</translate> <br/> | '''varname''': (string) <translate>name of the variable</translate> <br/> | ||
− | === Return values === | + | === <translate>Return values</translate> === |
− | '''Returns''' (any) <translate>value of the variable</translate><br/> | + | '''<translate>Returns</translate>''' (any) <translate>value of the variable</translate><br/> |
Revision as of 07:27, 24 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