[fpc-devel] Using double quotes

Mark Morgan Lloyd markMLl.fpc-devel at telemetry.co.uk
Sat Feb 27 10:38:11 CET 2016


Marcos Douglas wrote:
> Is there any chance to implement in the compiler something link this?
> 
> S := "
>   insert into t (
>     id, description
>   ) values (
>     1, 'foo'
>   )
> ";
> 
> Did you see?

No, I don't see. It looks like an ordinary string to me, except that 
you're allowing it to extend over multiple lines somewhat like a unix 
here-document.

-- 
Mark Morgan Lloyd
markMLl .AT. telemetry.co .DOT. uk

[Opinions above are the author's, not those of his employers or colleagues]



More information about the fpc-devel mailing list