|
The only difference is that you get an indicator data structure that's particular to the display or printer file. Then you can use the "same" indicator multiple times. *IN03 doesn't mean the same thing as "quit". Unless you need to use a lot of indicators--200, 300... the sky's the limit, it's more a matter of taste than anything else. > -----Original Message----- > From: David.X.Kahn@gsk.com [mailto:David.X.Kahn@gsk.com] > Sent: Thursday, November 15, 2001 7:58 AM > To: midrange-l@midrange.com > Subject: RE: Display files not compatible with new RPG syntax > > > Joel wrote: > > > I don't think it's that big a deal. You have to define the data > > structure and then, as you add an indicator, you have to name the > > offset in the data structure. I really like having indicators with > > names like "quit" or "sfldisplay". Being able to have names for the > > three subfile indicators you can't do without means that I > don't have > > to look at the cheat sheet that tells which is which. > > I see. However, you don't need to use INDARA to do this. > Simply use a data > structure for your indicators and base it on the address of *IN. > > Dave... > > "String is a very good thing. Rope is thicker, but string is > quicker!" - > Spike Milligan >
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.