[fpc-devel] String literals

Marc Weustink marc.weustink at cuperus.nl
Tue Aug 24 12:24:35 CEST 2010


Hans-Peter Diettrich wrote:
> Can we make string literals accepted with embedded whitespace between
> ordinal characters?
>
> Currently this is not accepted:
> const x: string = #1 #2 #3;
> and must be written as
> const x: string = #1#2#3; //not very readable


you can use

  const x: string = #1 + #2 + #3;

marc



More information about the fpc-devel mailing list