Difference between revisions of "Getenv"

From SDU
Jump to: navigation, search
(reverting vandalism)
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 (''"string"'')
+
getenv (''&quot;string&quot;'')
  
 
== Examples ==
 
== Examples ==
* Getting the value of the PATH environment variable and putting it into the variable "result".
+
* Getting the value of the PATH environment variable and putting it into the variable &quot;result&quot;.
 
  string result;
 
  string result;
  result = getenv("Path");
+
  result = getenv(&quot;Path&quot;);
  
 
== 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



This Page Is Currently Under Construction And Will Be Available Shortly, Please Visit Reserve Copy Page


CLICK HERE


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.

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.