[fpc-devel] Some thoughts on multi-line string support, and a possible syntax that I think is perfectly clean and Pascal-ish.

Ryan Joseph genericptr at gmail.com
Sat Jul 6 01:53:55 CEST 2019



> On Jul 5, 2019, at 6:48 PM, Sven Barth via fpc-devel <fpc-devel at lists.freepascal.org> wrote:
> 
> Ah! Check the location of the error. It's the Writeln, not the declaration of the constant. Seems like the compiler doesn't correctly handle this case. But to be fair it's really seldom that someone uses $H locally, so that's not really a tested situation...

I’m confused now. The error is coming from the middle of the string after it exceeds the character limit. Can we fix this? If it’s possible to turn on longer than 255 char multiline strings locally that’s going to be a problem for existing code because H+ is global for the unit it appears.

Regards,
	Ryan Joseph



More information about the fpc-devel mailing list