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



:) I didn't say I LIKED semicolons - just that they're not all that weird or crazy.

Regards
Vern

On 7/19/2016 4:12 PM, John R. Smith, Jr. wrote:
I agree with John Y on the semicolons. Although I don't know all of the languages Vernon mentioned, in my experience, RPG is the first language I have seen that requires a semicolon at the end of the IF and ELSE lines.

-----Original Message-----
From: RPG400-L [mailto:rpg400-l-bounces@xxxxxxxxxxxx] On Behalf Of Vernon Hamberg
Sent: Tuesday, July 19, 2016 4:57 PM
To: RPG programming on the IBM i (AS/400 and iSeries) <rpg400-l@xxxxxxxxxxxx>
Subject: Re: RPG

Crazy quirks? (See John's statement below) Semicolons?

Let's see, languages like C, Pascal, Algol, Ada, PL/I, et al, used semicolons to indicate the end of a line - and Javascript today can use them although optional, last I looked.

Not so crazy anytime, methinks!

Vern

On 7/19/2016 2:13 PM, Jon Paris wrote:
Having taught RPG to a _lot_ of non-RPGers John I’ll just say that in my opinion you are wrong.

Also I never said anything about free-format - although I think it is important.

There are a number of enhancements over the years that I have found to be very important to folks learning RPG in part because they are the norm in other languages. e.g Multi-dimensional arrays, nested data structures, etc. etc.

There have also been changes in subprocedures - in particular the removal of the requirement to always have prototypes, something that really bugs and confuses newbies because it made no sense for local subprocs.

Brad does good work and treats his customers well - I just wish that Rochester Connection would do more to update the materials they sell.


Jon Paris

www.partner400.com
www.SystemiDeveloper.com

On Jul 19, 2016, at 1:24 PM, John Yeung <gallium.arsenide@xxxxxxxxx> wrote:
=snip=
[1] If you're coming to RPG from other languages, you may well find
free format *trickier* to learn than fixed, because free format
teases you with how similar it is in some ways, but then has crazy
quirks like semicolons required after the IF and ELSE statements. I
am still continually forgetting them.

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.



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.