I am trying to trap an error in an executte statement. Most of the time it seems that I am able to do this, but if the error has to do with a misdimensiond variable the system does not respod to an error redirection and just sits. It is not hung becasue I can do stats stacks clear prog go line number etc.
Attached is a sample p[rogram that shows the error. I dimension e(10,5) but refer to it as e(1) in the execute statement. I'd like to be able to inform the operator of the error (this is in a report writer) and return to the enter line. The execute statement is used to validate the code being entered.
Thanks for the help
FNGeorge
Error trapping an execute statement
Moderators: Susan Smith, admin, Gabriel
Error trapping an execute statement
- Attachments
-
- testerr.br
- (764 Bytes) Downloaded 398 times