|
Scott, there's a lot of programs out there that were first written long before V2R2. One client that I work with on an occasional basis has programs that have not been touched since 1983. As he says, "It works the way I want it to work right now. Why would I want it changed?" That style, with the GOTOs, was very popular at one time. Did we even have EXSR subroutine back in the 1970s and 1980s? --------------------------------------------------------- Booth Martin http://www.MartinVT.com Booth@xxxxxxxxxxxx --------------------------------------------------------- -------Original Message------- From: RPG programming on the AS400 / iSeries Date: Sunday, July 13, 2003 11:24:54 PM To: RPG programming on the AS400 / iSeries Subject: Re: Single Page Subfile Example SELEC/ENDSL came out, I think, in V2R2. It's been around longer than RPG IV has! On Sun, 13 Jul 2003, Booth Martin wrote: > At the time that code was written there probably was not a Select/EndSl > Opcode. I've found the best use of programming time in those design > situations is to consider changing the code to Select and to change the GOTO > sections to sub routines. A user can not choose two function keys at the > same time so there should be no conflicts with logic. > _______________________________________________
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.