GetEnvironmentVariable (open)

Returns the content of an environment variable

Syntax

LOADLIB "wh::os.whlib";

STRING FUNCTION GetEnvironmentVariable(STRING varname)

Parameters

STRING varname

Name of the variable

Return value

STRING

Contents of the environment variable