Peter,

You point out one rule I have for using indicators. Set them and use them
with a couple of lines. The chain/leave code is a great example of this. As
long as I use the value of the indicator w/in a few lines of setting it
indicators can be very easy to understand and maintain. On the other hand,
if I set three indicators in mainline and 5 more in subroutines and then
test them in yet other subroutines then I am asking for trouble.

-Walden

-----Original Message-----
From: owner-midrange-l@midrange.com
[mailto:owner-midrange-l@midrange.com]On Behalf Of Peter Coffin
Sent: Tuesday, May 05, 1998 3:36 PM
To: MIDRANGE-L@midrange.com
Subject: RE: what is unclear about 01 02 03 -Reply


Buck writes:

> I'm personally happy that there are RPGers among us who don't use
> left hand indicators, because it means that they're using more
> meaningful names instead!

I may not be an old hand, but I *do* use lefthand indicators under
some conditions, especially when handling the results from an
operation that signals it's success or failure via indicators.
The rationalization is that the silly thing was set a line or two
above and thus, it's meaning and significance is not mysterious.
Lefthand indicators just seem cleaner somehow...

Peter H. Coffin
T/L 665-6298 (414)223-6298
phcoffin@us.ibm.com
+---
| This is the Midrange System Mailing List!
| To submit a new message, send your mail to MIDRANGE-L@midrange.com.
| To unsubscribe from this list send email to MIDRANGE-L-UNSUB@midrange.com.
| Questions should be directed to the list owner/operator:
david@midrange.com
+---

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


This thread ...

Replies:

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

This mailing list archive is Copyright 1997-2019 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 here. If you have questions about this, please contact [javascript protected email address].