Topic: APLX Help : System Classes : Callbacks : onExecute
[ Previous | Next | Contents | Index | APL Home ]

www.microapl.co.uk

The 'onExecute' callback


Event number: 44
Generated for: APL (child task) object

The onExecute callback is invoked in an APL object belonging to a parent task when the child task is about to execute an expression or command (either typed by the user, or invoked under program control using the Execute method).

During the callback, ⎕WARG contains the command or expression which is about to be executed, as a character vector. This can be used for example to write an APL tutorial application when the parent task can see what the user is entering in the child-task session window.

The event-specific parameters in ⎕EV are (in index origin 1):

        ⎕EV[6]         Task ID for the child task

See the section on APLX Multi-tasking for more details.


Topic: APLX Help : System Classes : Callbacks : onExecute
[ Previous | Next | Contents | Index | APL Home ]