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



Joe,
I have a question regarding a comment you made:

"Bidirectional parameters are one thing many languages lack. Another is
the SELECT statements; perhaps the best implementation ever of
conditional logic trees."

Now, you know me well enough to know that I am a huge supporter of RPG,
and hell I still call it an AS/400, if for no other reason than to piss
off a person who shall remain nameless......

but back to the discussion.....your statement of "perhaps the best
implementation ever..." are you referring to the SELECT statement
specifically or the group as a whole? The reason I ask is that
SELECT-ENDSL is the same as SELECT CASE-END SELECT is it not?

If I am off the mark on this, please feel free to correct me.





From:
Joe Pluta <joepluta@xxxxxxxxxxxxxxxxx>
To:
RPG programming on the AS400 / iSeries <rpg400-l@xxxxxxxxxxxx>
Date:
06/23/2008 10:58 AM
Subject:
Re: Advantages of RPG



Buck wrote:
'Best' is a word that needs qualification. If your business is centred
round producing full colour reports with graphics (say a utility bill)
then RPG has some very distinct shortcomings. Someone who has never
tried doing that will probably try to take me to task for writing that.

Nobody's going to take you to task. You're just being a little narrow.
If color graphics is all that your business is, then RPG is not the
language for you. If your business is writing game software, RPG is
also not your language. If, however, your business is applying business
rules based on external conditions, especially when that logic is
altered by database settings, then RPG is your best choice, hands down.

And that mini-description above is pretty much the definition of most
enterprise business applications. Color graphic reporting is definitely
a business *function*, and I agree that RPG's not well suited for it.
But that's nothing new; I believe that a browser interface is an
integral function of many business applications, and RPG is a horrible
language for that as well.

But that doesn't diminish RPG's pre-eminent position as the best
business rules processing language available.

'For business logic' is a bit vague... what language can't execute an
'IF...ELSE' clause, or a 'DO... WHILE'? Business decisions really
aren't all that difficult. Tedious to implement, maybe, but difficult?

Bidirectional parameters are one thing many languages lack. Another is
the SELECT statements; perhaps the best implementation ever of
conditional logic trees.

Joe


As an Amazon Associate we earn from qualifying purchases.

This thread ...

Follow-Ups:
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.