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:
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.
This page has no comments yet. Be the first one!