The STOP procedure stops the execution of a running program or batch file. Control reverts to the interactive mode.
STOP [, Expr1, ..., Exprn]
One or more expressions whose value is printed. If no parameters are present, a brief message describing where the STOP was encountered is printed.
None.
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
Original |
Introduced |
BREAKPOINT , EXIT , WAIT