|
I'm starting to use more and more subprocedures as I figure out what I can modulize. I'm using them as a stepping stone to (future) service programs and modules. So... in that regard, a procedure should not have an EXSR (it does add confusion). I do still have some subroutines but only for things that are specific to the program task. - Steve > -----Original Message----- > From: Scott Johnson [SMTP:sjohnson@highsmith.com] > Sent: Thursday, January 20, 2000 3:39 PM > To: Midrange List > Subject: Subprocedure questions > > > Do you use subroutines within a subprocedure??? > > Do you think it is a good idea to mix subroutines into a > nomain module??? > > > > I am looking for some general opinions. We had somebody > inhouse write a bunch of procedures that in turn contained > subroutines. I found them difficult to follow. If they > had been subprocedures instead I think the code would have been > a lot easier to read. > > -- THANKS > ------------------------------------------------------ > Scott P. Johnson > Microcomputer Development Specialist > IBM Certified Specialist - AS/400 RPG Programmer > Highsmith Inc. > W5527 Hwy 106, PO BOX 800 > Fort Atkinson, WI 53538-0800 > TEL: 920-563-9571 FAX: 920-563-7395 > sjohnson@highsmith.com > www.highsmith.com > ------------------------------------------------------ > +--- > | This is the Midrange System Mailing List! > | To submit a new message, send your mail to MIDRANGE-L@midrange.com. > | To subscribe to this list send email to MIDRANGE-L-SUB@midrange.com. > | To unsubscribe from this list send email to > MIDRANGE-L-UNSUB@midrange.com. > | Questions should be directed to the list owner/operator: > david@midrange.com > +--- +--- | This is the Midrange System Mailing List! | To submit a new message, send your mail to MIDRANGE-L@midrange.com. | To subscribe to this list send email to MIDRANGE-L-SUB@midrange.com. | To unsubscribe from this list send email to MIDRANGE-L-UNSUB@midrange.com. | Questions should be directed to the list owner/operator: david@midrange.com +---
As an Amazon Associate we earn from qualifying purchases.
This mailing list archive is Copyright 1997-2025 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.