GetVariable function

The GetVariable function retrieves the value of a global variable that was set by the SetVariable function.

Syntax
GetVariable(variable)

Parameters
variable—A string parameter specifying to the name of the variable to retrieve.

Return value
A variant containing the value of the variable.

Example
The following example is a Before Query script. It reads the value of the Path variable, which was set in the Before Integration script, and uses the path information to override the location of the source file for the query.

Query.OverrideFileLocation = GetVariable(“Path”)

Related items
ClearVariables function
SetVariable function


Documentation Feedback