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



Personally I can't understand why anyone would want to use the fixed format coding style any more. There is just too much advantage to free format. I don't see all that many differences. Instead of Factor1 Opcode Factor2 Result you write Opcode Factor1 Factor2 Result, and it can go anywhere on the line. You can indent to show looping, some of the opcodes have better alternatives, complex logic is more readable due to the formatting freedom that free form gives you. If ... elseif ... else ... end is definitely worth wile.

Mark Murphy
STAR BASE Consulting, Inc.
mmurphy@xxxxxxxxxxxxxxx

-----rpg400-l-bounces@xxxxxxxxxxxx wrote: -----
To: RPG programming on the IBM i / System i <rpg400-l@xxxxxxxxxxxx>
From: Booth Martin
Sent by: rpg400-l-bounces@xxxxxxxxxxxx
Date: 11/11/2010 02:23PM
Subject: Re: How to read and or statement

If a programmer is going to consider going from IFxx to If, shouldn't he
take a real quick look at IfElse?  Wouldn't that be a really big part of
the attitude shift in the thought process?

Booth Martin
www.martinvt.com

On 11/11/2010 1:01 PM, Mark Murphy/STAR BASE Consulting Inc. wrote:
That wouldn't work because it would keep on looping as long as the second when passed, totally ignoring the first part of the AND condition.

Mark Murphy
STAR BASE Consulting, Inc.
mmurphy@xxxxxxxxxxxxxxx


As an Amazon Associate we earn from qualifying purchases.

This thread ...

Replies:

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.