On 6/20/2012 4:42 PM, Bernd Oppolzer wrote:
...
Bernd, you got a lot of replies to this, but I'll add my $.02.
Unwinding this, if the original problem arises in "FUNCTION." Assuming no other
ERROR ON-Units the program enters your first ON-Unit. If no error occurs there
the program will terminate. If there's an error the code gos to ENDE which
establishes the second ON-Unit, but of course doesn't execute it. It would take
a third error to enter that ON-Unit. I can see the possibility of an endless
loop here, even without the second ON-Statement, based on the rest of the code
that's not shown.
I agree it's not the best coding technique.
|