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



Advocates of scanning the RPG source for indicator usage will be in for a
very unpleasant shock if indicator 89 is set/reset in another display file
format or if the code contains gems like movea     '11111'       *in(85).
Been there.  Got the third degree burns.  Never again.  The compiler cross
reference will show indicators 85,86,87,88 and 89 as being used in the above
scenario, but NOT here:

 7 DindPtr           S               *   inz(%addr(*IN))
 8 Dindicators       DS                  based(indPtr)
 9 D Exit                            n   overlay(indicators: 89)
12 c                   eval      Exit = *on
14 c                   movea     '11111'       *in(85)

Indicator References (D=Defined M=Modified)
*IN        7      14M
85        14M
86        14M
87        14M
88        14M
89        14M

So now it's extra steps to follow the *IN reference at 7 to indPtr to
indicators to Exit.

In neither case will a scan for 89 show anything.
  --buck


As an Amazon Associate we earn from qualifying purchases.

This thread ...


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.