× The internal search function is temporarily non-functional. The current search engine is no longer viable and we are researching alternatives.
As a stop gap measure, we are using Google's custom search engine service.
If you know of an easy to use, open source, search engine ... please contact support@midrange.com.



 > 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 thread ...


Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

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.