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



Amen brother!

(but you know that you and I are pretty much the only PL/I-fans here...).

On Tue, Sep 25, 2012 at 10:32 AM, James Lampert <jamesl@xxxxxxxxxxxxxxxxx>wrote:

Alan Campin wrote:
The MAIN says do not bind the RPG cycle. You could not use an IP with
a Main program because it does not have an RPG cycle. IF is under your
control and is valid in a MAIN program.

The MAIN keyword is just acknowledging a reality that has been true
for 20 years. 99.9% of the programs that we write do not use the cycle
so why add the overhead to a program to run it when we don't use it.

To which I've always responded (if not necessarily in such a
conciliatory manner), "If you're not writing a Cycle program
(conventional or unconventional), then is RPG necessarily the best
language for the job?"

Sometimes it is; sometimes it isn't. Sometimes it's just the only
language available. And why bother with all this "/free" bovine scat to
make RPG look like PL/I, when it would have made more sense to upgrade
the PL/I compiler from a crude OPM subset PRPQ to a full ILE-based
implementation with full access to bound calls, STDIN/STDOUT, and so forth?

--
JHHL

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.