|
Hi Aaron! >My theoretical problem with it is that we can't >throw/create our own error, at least from what >I have heard (I haven't used Monitor or On-Error >as of yet). Well you can throw your own error with the message APIs but it isn't the same as CL's MONMSG. >Wow! They just have two people on RPG development! Well, I'm not sure how many folks are in the RPG lab, but Hans is one of them. Hi Steve! >But once I tried to use MONITOR, etc I could not find a >way to throw an errno based error. Rpg code can throw a >msgid based exception using the message APIs, but MONITOR >does not catch those on a msgid specified basis. >( MONITOR catches them all as the same general >exception based errno ) You have a point. But then again, RPG isn't C, and I didn't really expect RPG to use errno. I'll have to tinker a bit more with MONITOR to see how to throw my own exceptions in a more CL-ish way. Because I support customers back on V4 releases, I can't use MONITOR in production code yet, but I have some test bed code I can play with... --buck
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.