setIDLVariable

The setIDLVariable method sets the specified variable name to the specified value in the IDL process containing the underlying IDL object. If the type is JIDLArray, it is always converted to IDL majority.

Note
This method is disabled for applications running in the IDL Virtual Machine.

Syntax

public void setIDLVariable(String sVar, Object value)

Arguments

sVar

A string identifying the variable in the IDL process to be set to value.

value

The value for sVar. The value should be an object of type JIDLNumber, JIDLObjectI, JIDLString or JIDLArray. If the variable does not exist, it is created.

Examples

See Data Manipulation with a Java Connector Object for an array manipulation example that uses the getIDLVariable, setIDLVariable and executeString methods.