Environ

Returns the value of a system environment variable

Syntax
	KeyPgDeclareDeclare KeyPgFunctionFunction Environ ( KeyPgByrefByRef varname KeyPgAsAs KeyPgConstQualifierConst KeyPgStringString ) KeyPgAsAs KeyPgStringString

Usage
	result = Environ[$]( varname )

Parameters
	varname
		The name of an environment variable.

Return Value
	Returns the text value of the environmental variable, or the empty 
	string ("") if the variable does not exist.

Description
	Environ returns the text value of a system environment variable.

Example
	'e.g. to show the system variable "path":

	Print Environ("path")

Differences from QB
	* The QB ENVIRON statement is now called KeyPgSetenvironSetEnviron.
	* The string type suffix "$" is required in the CompilerOptlang-lang qb dialect.
	* The string type suffix "$" is optional in the CompilerOptlang-lang fblite dialect.
	* The string type suffix "$" is ignored in the CompilerOptlang-lang fb dialect, warn 
	  only with the CompilerOptw-w suffix compile option (or CompilerOptw-w pedantic compile 
	  option).

See also
	* KeyPgSetenvironSetEnviron
	* KeyPgShellShell

