This wiki is out of date, use the continuation of this wiki instead

Getenv

From FenixWiki

(Difference between revisions)
Jump to: navigation, search
Revision as of 02:32, 1 September 2007 (edit)
Sandman (Talk | contribs)
m
← Previous diff
Current revision (00:35, 19 December 2007) (edit) (undo)
Sandman (Talk | contribs)

 
Line 1: Line 1:
[[Category:functions]] [[Category:functions]]
[[Category:programinteraction]] [[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() •
Personal tools