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


  • Subject: Re: Is this the Free-Format that we asked for?
  • From: Jim Langston <jimlangston@xxxxxxxxxxxxxxxx>
  • Date: Thu, 02 Nov 2000 17:11:28 -0800
  • Organization: Pacer International

John,

I have used languages that do not require an end of statement terminator, such
as QuickBasic, dBase and Clipper

I have used languages that do require an end of statement terminator, such as 
C, Pascal and Perl

I did not like having to use an underscore in QuickBasic and Clipper to 
continue a line. _

I did not mind using a semicolon in C and Pascal to terminate a line;

I hate having to use a C in RPG on every line, makes for ugly code.

The fact is, the semi colon is not superficious.

How would you code this without being able to use a semi colon?

a = 0;  b = 0;  c = 0;

Without the statement terminator, I now have a limit, one statement per line.

a = 0
b = 0
c = 0

Regards,

Jim Langston

John Taylor wrote:
> 
> Richard,
> 
> Thank you for taking the time to elaborate on your statement.
> 
> > If the explicit statement terminator is not available, statements either
> > trickle off the right for a long ways (hard to read, understand, view,
> etc)
> > or their meaning is not ambiguous - they may be interpreted in multiple
> > ways.  Some of the rules needed to make the statement have a definite
> > meaning may be less desirable than the semicolon.
> 
> I just don't see any evidence to support this. Have you had an opportunity
> to use a language that doesn't require an explicit statement terminator? If
> so, did you really notice any of the aforementioned problems.? I have a
> number of years of experience using non-terminated languages under my belt,
> but I haven't run across those issues.
> 
> Regards,
> 
> John Taylor
> Canada
+---
| This is the RPG/400 Mailing List!
| To submit a new message, send your mail to RPG400-L@midrange.com.
| To subscribe to this list send email to RPG400-L-SUB@midrange.com.
| To unsubscribe from this list send email to RPG400-L-UNSUB@midrange.com.
| Questions should be directed to the list owner/operator: david@midrange.com
+---

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.