|
> Are 'On-Error' and 'DivideByZero' things that are automatically predefined? Or is 'DivideByZero' defined in a D spec as a constant equal to whatever the code is for a divide by zero? On-Error is an op-code and therefore pre-defined. DivideByZero as you surmise is a constant with the value of the appropriate error code. Sorry for not including the D spec and making this obvious. > Either way, this is wonderful! Absolutely. Up until now all that most error handling methods in RPG could do was to help you die more gracefully. This gives you complete programmatic control. I have a couple of examples in my V5 presentation - I'll be glad to send a PDF copy of the MONITOR piece to anyone who sends me a PRIVATE E-MAIL (not shouting - just trying to prevent the list from being cluttered with "me too's" <grin> Jon Paris Partner400
As an Amazon Associate we earn from qualifying purchases.
This mailing list archive is Copyright 1997-2024 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].
Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.