Os.getenv: Difference between revisions
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...." |
No edit summary |
||
| 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) | (any) = os.getenv(varname) | ||
</source> | </source> | ||
'''varname | '''varname''': (string) name of the variable ''''''<br/> | ||
'''Returns''' (any) value of the variable<br/> | '''Returns''' (any) value of the variable<br/> | ||
Revision as of 09: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