- This wiki is out of date, use the continuation of this wiki instead
Getenv
From FenixWiki
(Difference between revisions)
Revision as of 13:37, 4 June 2007 (edit) 212.190.93.60 (Talk) ← Previous diff |
Current revision (00:35, 19 December 2007) (edit) (undo) Sandman (Talk | contribs) |
||
(4 intermediate revisions not shown.) | |||
Line 1: | Line 1: | ||
[[Category:functions]] | [[Category:functions]] | ||
+ | [[Category:programinteraction]] | ||
- | + | ==Definition== | |
+ | '''STRING''' getenv ( <'''STRING''' variablename> ) | ||
+ | |||
+ | Returns the value of an environment variable (like PATH). | ||
+ | |||
+ | == Parameters == | ||
+ | {| | ||
+ | | '''STRING''' variablename || - The name of the variable to get the value of. | ||
+ | |} | ||
+ | |||
+ | == Returns == | ||
+ | '''STRING''' : The value of the variable. | ||
+ | {| | ||
+ | | "" || - The variable is invalid or empty. | ||
+ | |- | ||
+ | | !"" || - The value of the variable. | ||
+ | |} | ||
+ | |||
+ | {{Funcbox | ||
+ | | category=Programinteraction | ||
+ | }} |
Current revision
[edit] Definition
STRING getenv ( <STRING variablename> )
Returns the value of an environment variable (like PATH).
[edit] Parameters
STRING variablename | - The name of the variable to get the value of. |
[edit] Returns
STRING : The value of the variable.
"" | - The variable is invalid or empty. |
!"" | - The value of the variable. |
Programinteraction Functions | |
• Exit() • Getenv() • Key() • Move_window() • Set_fps() • Set_icon() • Set_mode() • Set_title() • |