help files
Z505 | PasWiki | FUQ | Search | Main Docs | API Guide



[Overview][Constants][Types][Classes][Procedures and functions][Variables] Reference for unit 'sysutils' (#rtl)

GetEnvironmentVariable

Return the value of an environment variable.

Declaration

Source position: osutilsh.inc line 21

function GetEnvironmentVariable(

  const EnvVar: String

):String;

Description

GetEnvironmentVariable returns the value of the EnvVar environment variable. If the specified variable does not exist or EnvVar is empty, an empty string is returned.

See also

GetEnvironmentString

  

Return an environment variable by index.

GetEnvironmentVariableCount

  

Return the number of variables in the environment.

Notes

 No notes exist for this page yet. 





lufdoc, Powtils, fpc, freepascal, delphi, kylix, c/c++, mysql, cgi web framework docs, Z505