STOP

The STOP procedure stops the execution of a running program or batch file. Control reverts to the interactive mode.

Calling Sequence

STOP [, Expr 1 , ..., Expr n ]

Arguments

Expr i

One or more expressions whose value is printed. If no parameters are present, a brief message describing where the STOP was encountered is printed.

Example

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

See Also

BREAKPOINT , EXIT , WAIT