$ZMOde
$ZMOde
$ZMO[DE] contains a string value indicating the process execution mode.
The mode can be:
- INTERACTIVE - process not started by a JOB command
- OTHER - process started by a JOB command
M routines cannot modify $ZMODE.
Example:
GTM>WRITE $ZMODE
INTERACTIVEExample:
> cat mode.m
mode;
write $zmode,!
quit
> mumps -run mode
INTERACTIVEExample:
GTM>job ^mode
> cat mode.mjo
OTHER