Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Error Handling Routines
#1
Hello,

I have an error handling routine set in the main module, where if an error is encountered, it goes to a "error" sub, where an error message is displayed.

Everything works nicely BUT...when I put in either the RESUME or RESUME NEXT statement, an error comes up (outside of the program execution) with a "RESUME without ERROR" error message.

Help!
Reply
#2
Hi joey, I've seen this happen when your programs path inadvertantly flows into the area where the RESUME is without having actually been routed there by an ERROR.

I know its simple, but worth double-checking. Smile

Dex
Reply
#3
Yeah, it doesn't seem like that is the problem.

Thanks, though Big Grin
Reply
#4
trap the error with testing individual parts, SYSTEM, PRINT, and PSET. QB Error handling is good but it's incompatible with SUBs, i think??
Peace cannot be obtained without war. Why? If there is already peace, it is unnecessary for war. If there is no peace, there is already war."

Visit www.neobasic.net to see rubbish in all its finest.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)