[fpc-pascal] Feature "Multiline strings" added

b_lists at patandbrian.org b_lists at patandbrian.org
Mon Jul 28 16:24:38 CEST 2025


On 7/28/25 09:26, Travis Siegel via fpc-pascal wrote:
> Your argument makes no sense.  There's always been multiple ways to do 
> many things in pascal, and it's never caused any more confusion than 
> any other typical language construct.
> 
> Take for instance, comments.
> 
> { this is a comment}
> 
> works just as well as
> 
> (* this is a comment *)
> 
> I don't believe I've ever seen you complain about multiple ways to put 
> comments in the code
> 

The two ways to do comments are, IMO, almost essential. The way I was
taught to write Pascal, about 45 years ago now, was to use braces for
comments - but then if you needed to comment out a whole chunk of
code, including multiple comments, you used (* and *) to do it.

Yes, I'm aware that you could accomplish the same thing with compiler
directives these days, but I'm far too set in my ways by now, and too
old to want to change!


Brian.


More information about the fpc-pascal mailing list