|
John, I can think of one case where you are forced to use a subroutine or inline code that would be best placed in a sub-procedure. This is when you are dealing with APIs that do not accept a call level. Most of the Cee APIs fall into this category. David Morris >>> Jon.Paris@halinfo.it 11/22/99 08:09AM >>> ...I think what I said (it is what I normally say anyway) is that I _personally_ don't bother with subroutines. For me they serve no useful purpose. Subprocedures give me a natural language interface where the parameters are clearly spelled out, local variables (most subroutines define at least some 'local' data), parameter validation, some facilities for automatic conversion of parameter type/size, etc. etc. And subroutines give me ....... ?... +--- | This is the RPG/400 Mailing List! | To submit a new message, send your mail to RPG400-L@midrange.com. | To subscribe to this list send email to RPG400-L-SUB@midrange.com. | To unsubscribe from this list send email to RPG400-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-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.