|
Douglas Handy wrote: > ... > As an aside, I think Barbara's example should use either L1 or even L0 in > columns 7-8 instead of LR so that it is called every cycle. ... Double oops, you're right Doug. L0 would indeed be much better. Maybe it would be a good idea to have a /copy file like this: C exsr detailCalcs; CL0 exsr totalCalcs; and then for cycle programs, code the calcs like this: /free /copy cycleCalcs begsr detailCalcs; endsr; begsr totalCalcs; endsr; I'm of two (at least) minds about this. On the one hand, you have subroutines with no apparent way to call them. On the other hand, the other parts of the code (detail output, total output, I specs) are reached with no apparent way to call them, so why not detail and total subroutines too.
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.