Runtime.IsBatchMode

Prototypes

static boolean IsBatchMode()

Return Value

If the IMLPlus program is running in batch mode, the return value is true. If the IMLPlus program is running in interactive mode, the return value is false.

Parameters

None

Remarks

Use this method to determine whether the IMLPlus program is running in batch mode or interactive mode.

Example
if Runtime.IsBatchMode() then
    print "Batch Mode";
else
    print "Interactive Mode";
See Also

Runtime.EnsureInteractiveMode