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



Poor Brent, he just asked where to learn RPG and it is obviously very
complicated

On Fri, Apr 28, 2017 at 1:00 AM, John Yeung <gallium.arsenide@xxxxxxxxx>
wrote:

On Thu, Apr 27, 2017 at 3:38 PM, Douglas Dunn <dunndouglas0@xxxxxxxxx>
wrote:
And I should probably get RDi.

You probably should, but it's not cheap. The reality is that many
developers make do without it unless it's provided by their employer.

I am still curious about the old fixed-form style, mainly because the
syntax looks very exotic to me. Can someone explain the concept of the
"cycle" that was mentioned about?

Others have talked about the cycle. Let me just say that the
fixed-form syntax and the cycle are independent of each other. At
least today they are; I am kind of hazy about the history. Today, you
can use either one without the other.

The fixed-form syntax is extremely reminiscent of old assembly syntax.
When I first encountered RPG, it felt very much like assembly to me,
and I am sure I've seen at least a few other people describe it that
way. No doubt both assembly and early RPG syntax were strongly
influenced by early computing devices in the punch card era (as I now
see Jon Paris has just described).

Honestly, I don't find the old syntax hard. In some ways, its forced
simplicity makes it easier. (In other ways, it's definitely worse,
though.) While I understand no one wants to encourage its use in
brand-new programs, I am kind of torn about maintenance (including
enhancement) of old programs that use it. As ugly as some people find
fixed-form, I think it has a certain rhythm and ease about it. Your
eyes learn to go to the right places, and you can tell certain things
about what something is just by *where* it is. To me, the ugliest is a
mixture of free- and fixed-form code. Which means the inertia for
fixed-form code is considerable. Not inescapable, but certainly not
quickly or easily brushed aside in "traditional" IBM midrange shops
with lots of legacy code.

John Y.
--
This is the RPG programming on the IBM i (AS/400 and iSeries) (RPG400-L)
mailing list
To post a message email: RPG400-L@xxxxxxxxxxxx
To subscribe, unsubscribe, or change list options,
visit: http://lists.midrange.com/mailman/listinfo/rpg400-l
or email: RPG400-L-request@xxxxxxxxxxxx
Before posting, please take a moment to review the archives
at http://archive.midrange.com/rpg400-l.

Please contact support@xxxxxxxxxxxx for any subscription related
questions.

Help support midrange.com by shopping at amazon.com with our affiliate
link: http://amzn.to/2dEadiD





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.