GetVar()

Description

Returns a target variable.

Syntax

Function GetVar( name )

Parameters

string name - name of the variable to look for.

Return value

object - target variable if it was found (See value variable for details.)

An exception is thrown in case of errors.

Examples

Dim TextConverter, Var

Set TextConverter = CreateObject( "ConverterX.ConverterX.1" )

TextConverter.OpenProject( "C:\data\Test.ConverterX" )

Set Var = TextConverter.GetVar( "MyVar" )

Var.value = 25

TextConverter.Convert() 

TextConverter.SaveProject( "C:\data\Test.ConverterX" )

See also

GetOutputDS()

API Methods and Properties