Good News Everybody!
The new search engine is LIVE!
Please report any problems to david (at) midrange.com.
|
If you have multiple exsr to exitProcedure in a sub-procedure, wouldn't that consider multiple return (procedure returned in the mid of it)? The reason that you need exitProcedure sub-routine is probably because you need do want to do multiple return. Otherwise you could have coded all the cleanup codes at the end of the sub-proc. -----Original Message----- From: rpg400-l-bounces@xxxxxxxxxxxx [mailto:rpg400-l-bounces@xxxxxxxxxxxx]On Behalf Of Christen, Duane J. Sent: Thursday, July 28, 2005 12:55 PM To: 'RPG programming on the AS400 / iSeries' Subject: RE: No Subroutines (was Re: Debugging many subprocedures) I only have one return from a procedure, with few exceptions, I just call the subroutine exitProcedure. Which contains any cleanup code (condition handler, dealloc storage, etc...) and then it returns. Duane Christen
This mailing list archive is Copyright 1997-2026 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.