Vocola.net
Vocola 3.1 Function Library
Get(variableName)
Namespaces LibraryEnvironmentVariables ► Get
Returns the value of the specified system environment variable.
Syntax
Get(variableName)
Parameters
variableName
Name of the environment variable to get. Case insensitive.
Return Value
The value of the specified system environment variable.
Examples
CopyInclude a machine-specific file
$include folders_ EnvironmentVariables.Get(COMPUTERNAME) .vch;
Here the value of the COMPUTERNAME environment variable is used to construct the name of a file to include. For example, if COMPUTERNAME has the value "venus" the resulting statement would be $include folders_venus.vch;. This statement could be used to define a different list of interesting folders on different machines.

Assembly: VocolaFunctionLibrary (Module: VocolaFunctionLibrary) Version: 3.1.1.0 (3.1.1.0)