× 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: Are indicators evil creatures or victims of poor shop standards?
  • From: boothm@xxxxxxxxxxxxxxxxx
  • Date: Wed, 08 Mar 2000 01:20:48 GMT

Our shop standard on indicators is quite simple.  Indicators 1 through 24 
are reserved, and all indicators in the 50s and the  90s are work 
indicators that may be used and then abandoned.  It is understood that one 
can not depend on a setting being retained past the immediate location. 
All other indicators, if used, are defined and documented.   As a result 
not many other indicators get used excepting for display screen needs. The 
rule is simple and effective.
_______________________
Booth Martin
boothm@earth.goddard.edu
http://www.spy.net/~booth
_______________________




"James W. Kilgore" <qappdsn@attglobal.net>
Sent by: owner-rpg400-l@midrange.com
03/07/2000 03:03 PM
Please respond to RPG400-L

 
        To:     RPG400-L@midrange.com
        cc: 
        Subject:        Re: Are indicators evil creatures or victims of poor 
shop standards?


Buck,

I agree that indicators are not -evil-, just a pain.

Since we must us indicators for such things as position cursor for a 
display
file, they live on.

We have strong shop standards and have not found indicators to be a 
particular
problem.  Our standard is that a given indicator has a particular meaning 
or a
set of rules.  The only reason it works is through enforced uniformity.

Here's a small example: Every file in the application has a 'get record' 
routine
that does a CHAIN.  Since we have to support V3R2 RPGIII, this routine is 
in a
/COPY member.  Every, and I mean every, incarnation of this routine uses 
*IN90 as
the resulting indicator.

These routines then uses *IN90 to set flags (variables) that are used 
within the
mainline code.  The rule for *IN90 is that it's use never goes beyond the
immediate purpose, flags are set instead.

You're right, without a plan, indicators are a mess.

Buck Calabro wrote:

>
>
> Global variables pretty much require strong shop standards; it is the 
lack
> of shop standards that has resulted in messy code, and it is messy code
> which has given indicators a bad name.  If you have strong shop 
standards,
> please PLEASE post them for the common good!
>
> Buck Calabro
> Aptis; Albany, NY
>

+---
| This is the RPG/400 Mailing List!
| To submit a new message, send your mail to RPG400-L@midrange.com.
| To subscribe to this list send email to RPG400-L-SUB@midrange.com.
| To unsubscribe from this list send email to RPG400-L-UNSUB@midrange.com.
| Questions should be directed to the list owner/operator: 
david@midrange.com
+---




+---
| This is the RPG/400 Mailing List!
| To submit a new message, send your mail to RPG400-L@midrange.com.
| To subscribe to this list send email to RPG400-L-SUB@midrange.com.
| To unsubscribe from this list send email to RPG400-L-UNSUB@midrange.com.
| Questions should be directed to the list owner/operator: david@midrange.com
+---


As an Amazon Associate we earn from qualifying purchases.

This thread ...

Follow-Ups:

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.