[fpc-pascal] Syntax problem with first unit

David W Noon david.w.noon at ntlworld.com
Sun Apr 5 16:37:07 CEST 2009

On Sun, 2009-04-05 at 10:03 -0400, Francisco Reyes wrote:

> Mehmet Erol Sanliturk writes:
> > Unit and function names DebugPrint are the same .
> > Pascal is case insensitive . Making their cases different does NOT
> > make them different .
> > 
> > Please make them different and retry .
> Thanks. That worked.
> It may help newcomers like myself if this was mentioned on the ref document. 
> Just double checked and it does not mention this.
> Likely an error that people will only commit once, but still would be nice 
> to have int he ref doc.

But the Pascal language has *always* been case insensitive. [As are
FORTRAN, PL/I, ALGOL 60/68, COBOL and a host of others.]

I wrote my first Pascal programs on punched cards around 1975, hosted on
a Control Data Corp. Cyber 72 mainframe. The key-punch machines we used
to punch the cards did not support lower case letters, so we could not
readily prepare case sensitive input. This is why almost all the older
generation of programming languages are case insensitive.

Once we started using timesharing on the mainframe, we were
automatically accustomed to lower case letters being treated the same as
capital letters, as even the system commands were punched in capital
letters on cards, but typed as lower case from a terminal.


Dave  [RLU #314465]
david.w.noon at ntlworld.com (David W Noon)

More information about the fpc-pascal mailing list