Getenv

From SDU
Revision as of 20:49, 24 July 2008 by Henrique (Talk | contribs) (New page: __NOTOC__ == Description == Gets the value of an environment variable == Usage == getenv (''"string"'') == Results == This func will return the string value of the environment variable ...)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

Description

Gets the value of an environment variable

Usage

getenv ("string")


Results

This func will return the string value of the environment variable defined informed in string

Examples

  • Pushing the results of sindex into a variable (matching a string in another variable)
string result;
result = getenv("Path");




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.