|
Hans, While I don't necessarily use the RESET all that frequently, I have used it a few times and was very happy it was there. If I set the initial value of a field to something other than zero, I may want to do a RESET on that field during a re-running of my program. Think about all those date fields that have a questionable initial value by default, I can simply do a RESET and they're back to their original values. No more coding another entry in the subroutine (or proc) to set reset the initial value for a field. I declare it, set the INZ keyword, and I'm ready to go; I don't have to remember to add an assignment statement to some procedure or subroutine somewhere. I also think *INZSR is a great feature and wish dearly that a *TERMSR would have been implemented in RPG IV (I could still use it today, even more so.)
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.