× The internal search function is temporarily non-functional. The current search engine is no longer viable and we are researching alternatives.
As a stop gap measure, we are using Google's custom search engine service.
If you know of an easy to use, open source, search engine ... please contact support@midrange.com.


  • 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:

Terry

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

-snip-

>> 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
>ike:
>>
>>      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:

http://www.as400guy.com/
 


As an Amazon Associate we earn from qualifying purchases.

This thread ...

Replies:

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

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.