× 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.



Pretty much nothing..it just looks better IMO 


Thanks,
Tommy Holden


-----Original Message-----
From: rpg400-l-bounces@xxxxxxxxxxxx
[mailto:rpg400-l-bounces@xxxxxxxxxxxx] On Behalf Of Turnidge, Dave
Sent: Monday, December 11, 2006 1:49 PM
To: RPG programming on the AS400 / iSeries
Subject: RE: Does anyone use indicators anymore?

Aha! Look! No pointer required... OK. Why not? What does the pointer
method give you that this does not? 

-----Original Message-----
From: rpg400-l-bounces@xxxxxxxxxxxx
[mailto:rpg400-l-bounces@xxxxxxxxxxxx] On Behalf Of Cassidy, Alan
Sent: Monday, December 11, 2006 1:21 PM
To: RPG programming on the AS400 / iSeries
Subject: RE: Does anyone use indicators anymore?

-----Original Message----- From: James H H Lampert   ....That same basic
idea could also be used for an indicator used to condition statements or
store flags raised by calculations....

==>Yep...

.....I'm not directly familiar with overlaying names on the general
indicators. What release did it come in at, and can more than one name
be overlaid on an indicator that's used for more than one purpose?

==> Adding to Kurt's example:

     FDspF      CF   E             WorkStn IndDS( DspfInd ) 
      //  Display File Indicator Data Structure.
     D DspFInd         DS
     D  PCFld1                40     40n   Inz( *Off ) 

     D IndicatorsDS    DS                  Inz
     D  *IN                    1     99n   
     D  CompanyNotFound       13     13n
     D  CustNotFound          13     13n
     D  InvoiceNotFound       13     13n
     D  CustReadError         26     26n
     D  Co#ReadError          26     26n

or...
     D Indicators      DS                  Inz
     D  *IN                    1     99n   
     D  CompanyNotFound                n   Overlay(Indicators:13)
     D  CustNotFound                   n   Overlay(Indicators:13)
     D  InvoiceNotFound                n   Overlay(Indicators:13)
     D  CustReadError                  n   Overlay(Indicators:26)
     D  Co#ReadError                   n   Overlay(Indicators:26)

--Alan





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.