- DelphiTools - https://www.delphitools.info -

Triple apostrophe multi-line strings support in DWScript

In the wake of Delphi 12 support [1], DWScript just got support for the “triple apostrophe” multi-line string syntax introduced with Delphi 12. This syntax comes in addition to the previously supported multi-line syntaxes.

As there is some degree of ambiguity in the new syntax, the syntax in DWScript is based on my current understanding of what the Delphi 12 doc and parser do.

To summarize all string literals supported by DWScript:

DWScript did not have a literal string length limitation, so not change there.