> On Jul 5, 2019, at 12:31 AM, Ben Grasset <operato...@gmail.com> wrote:
> 
> Ok, here's a link to my github fork implementing the multi-line string 
> functionality.
> 

Sweet. Why does the “cr” setting only print one line and “crlf” prints all of 
them? Sorry I wasn’t following along with all the talk.

It still feels intuitively like we should be using double-quotes instead of 
back ticks but it’s still very nice.

program test;

{$modeswitch multilinestrings}
{$multilinestringlineending cr}

const lines = `
  aaa
  bbb
  ccc
  ddd
`;

begin
  writeln(lines);
end.


Regards,
        Ryan Joseph

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

Reply via email to