Previous ION Java User's Guide: ION Java Class and Method Reference Next

executeIDLCommand()

The executeIDLCommand() method sends an IDL command to the ION Server for execution. The call returns when the command has finished executing. Any resultant graphics is displayed in the IONGraphic drawing area.

Syntax

public int executeIDLCommand(String sIDLCommand)

Return Value

The function returns 0 if the IDL command executed successfully, or the value of the IDL system variable !ERROR_STATE.CODE if the IDL command did not execute successfully.

Arguments

sIDLCommand

A string containing a valid IDL command.

Exceptions

IOException, IONIllegalCommandException, IONSecurityException

  IDL Online Help (March 06, 2007)