|
-----Original Message-----
From: RPG400-L [mailto:rpg400-l-bounces@xxxxxxxxxxxx] On Behalf Of Michael Schutte
Subject: Re: Removing or replacing *inzsr with Dspecs
...But that's about as far as I would go with sub procedures in a main line program. If there's other code that I feel like should be in a sub-procedure that's imported through a module or service program. Judging by the comment you made about being out of the game for a while, this might be a little too for this thread
If Wilson is in learning mode, converting subroutines to subprocedures can be a good exercise for him for getting used to them. Such conversions are good for that.
I like the idea for general maintenance where it doesn't detract from your timelines. Some subroutines use variables defined only for their purpose, or re-use work fields defined globally. To practice at first, do it with a few of them.
Alan
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.