• Subject: Re: what is unclear about 01 02 03 -Reply
  • From: Jeff Gunter <JeffGunter@xxxxxxxxxxxx>
  • Date: Tue, 05 May 1998 20:24:13 -0500


Vernon Hamberg wrote:


At 12:08 AM 5/4/1998, you wrote:


>> People have railed against the use of indicators for *EVER because
>> the indicator number does not help understanding the intent of the
>> code.  Without researching the rest of the program, we'll never
>> understand this line of code.  Us geezers have to learn to write more
>> l
>>      C           AMT$      IFGT WARN$
>>      C           CUSTCD    ANDLTBESTCD
>>      C           REGION    ANDEQMIDWST
>>      C                     EXSR WARN
>>      C                     ENDIF

What about:

     C        If         (Amt$ > Warn$) and
  C                     (CustCd < BestCD) and
  C                     (Region = MidWST
  C        Exsr       Warn
  C        Endif

I LIKE this RPG IV stuff.......

Jeff Gunter
IBM Certified Specialist - AS/400 RPG Programmer
Visit my Web Site at:


This thread ...


Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

This mailing list archive is Copyright 1997-2019 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].