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



If   ( SomeValue > 12 ) Or (( SomeValue <= 6) And ( SomeValue >= 3)) And
 SomeOtherValue...


If ( SomeValue > 12 ) Or
   ( ( SomeValue <= 6) And ( SomeValue >= 3 ) ) And
   ( SomeOtherValue...

Which is easier to read?

Regards,

Jim Langston

-----Original Message-----
From: rpg400-l-admin@midrange.com [mailto:rpg400-l-admin@midrange.com]On
Behalf Of Njal Fisketjon
Sent: Friday, September 21, 2001 3:39 PM
To: rpg400-l@midrange.com
Subject: RE: (no subject)


Jim Langston wrote:

> Umm.. I'm scratching my head here trying to figure out what you
> are trying to say.
>
> You stated that you didn't like the semi colons at the end of
> if type statements (if, else, etc...) but I'm stating that it's,
> IMO, a better more natural way of doing it.
>

I disagree. Why should the programmer be doing unnecessary coding?
Just like coding eval's all over the place. Most statements doesn't
continue to the next line (specially not in /free from). Why not code
a continuation character (+ -) in stead?. Other languages
(eg Visual Basic) does it, and it looks much better, and is less work.
Why can't the fact that you start a new line mean that you start a new
statement (like we're used to know). Why turn the logic. To make sure
nobody will use it?

My guess is those IBM programmers did too much MI coding! :)




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.