Control Monitoring of Sub-events

USAGE:

<BR><H3>
setSubEvents(flag)
</H3><BR>

ARGUMENTS:

flag
logical flag to turn sub-event monitoring on or off.

VALUE:

the previous value of the sub-event monitoring state (initially False).

NOTE:

S events can be handled at two levels: as task events and as sub-events. The handler for task events is always active; it looks for task events whenever an S task (such as an evaluation responding to an expression typed by the user) has completed. If sub-events are turned on, the evaluator looks for a monitor event past its timeout, during the evaluation (explicitly, before looking at each new subexpression). This ensures that montor events are not delayed any longer than the time needed for each sub-expression, but this could in principle be arbitrarily long if S calls some computation in C or Fortran. In most computations, however, subevent monitoring is quite responsive.

SEE ALSO:

.

EXAMPLES:

## the motif interface monitor 
setSubEvents(TRUE)