Hitachi

JP1 Version 11 JP1/Script Description and Reference (For Windows Systems)


11.2.2 EXECRTN property (return the exit code of an executable file)

Purpose

Returns the exit code of an executable file called by the Exec method (with True set in the wait flag).

Syntax
Object.EXECRTN
Argument
Object

Specify the object representing the reference to the SPTO control.

Description

The EXECRTN property waits for completion of an application called by the Exec method, and stores the application's exit code as a long integer if the Exec method returns a True result. Nothing is stored if the method's execution result is False, or if the Exec method is called with False set in the wait flag.

JP1/Script version

Supported from JP1/Script 05-00.