GetVariableValue

www.altova.com Print this Topic Previous Page Up One Level Next page

Home >  User Reference > Objects > AuthenticEventContext >

GetVariableValue

Method: GetVariableValue(name as string, value as string)

 

Return Value

Gets the value of the named variable.

 

Description

GetVariableValue gets the variable's value in the scope of the context.

 

nZoom = parseInt( AuthenticView.EventContext.GetVariableValue( 'Zoom' ) );

if ( nZoom > 1 )

{

       AuthenticView.EventContext.SetVariableValue( 'Zoom', nZoom - 1 );

}

 

Errors


2201

Invalid object.


2202

No context.


2204

No such variable in scope


2205

Variable cannot be evaluated


2206

Variable returns sequence


2209

Invalid parameter

 


© 2019 Altova GmbH