----- Reply to message -----
Subject: Re: [fpc-devel] Some thoughts on
multi-line string support, and a possible syntax
that I think is perfectly clean and Pascal-ish.
Date: trešd., 3 jūl., 23:20
From:  Ben Grasset <operato...@gmail.com>
To:  FPC developers' list
<fpc-devel@lists.freepascal.org>
> program Example;

> (*
>   This is a perfectly
>   normal multi-line
>   Pascal comment.
> *)

> const SA = `
>   This is a multiline
>   string using hypothetical backticks.
>   Imagine it was fully syntax-highlighted
>   like normal strings and the comment
>   above are.
> `;

> begin
> end. 

Why introduce ` if there already is ' ? Just use '
as well for multi line strings. For people of more
conservative view point, put multilinestring
behind mode switch.

_______________________________________________
fpc-devel maillist  -  fpc-devel@lists.freepascal.org
https://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-devel

Reply via email to