The STOP procedure stops the execution of a running program or batch file. Control reverts to the interactive mode.
Examples
Suppose that you want to stop the execution of a procedure and print the values of the variables A, B, C and NUM. At the appropriate location in your procedure include the command:
STOP, A, B, C, NUM
To continue execution of the procedure (if possible) enter the IDL executive command:
.CONT
Syntax
STOP [, Expr1, ..., Exprn]
Arguments
Expri
One or more expressions whose value is printed. If no parameters are present, a brief message describing where the STOP was encountered is printed.
Keywords
None.
Version History
See Also
BREAKPOINT, EXIT, WAIT