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

Sven Barth pascaldragon at googlemail.com
Thu Jul 4 07:23:02 CEST 2019


Am 04.07.2019 um 02:09 schrieb Martin Frb:
> On 04/07/2019 01:57, J. Gareth Moreton wrote:
>>
>>  Also, with the backtick suggestion, what should one do if they wish 
>> to include a control character (e.g. a linefeed) or the backtick 
>> character itself?
>>
> answer := `Well, this for ``inline`` backticks
> and ` + #9 + `this for other chars`;
You're aware that normal strings can handle that also without plusses? ;)

answer := `Well, this for ``inline`` backticks
and `#9`this for other chars`;

Regards,
Sven


More information about the fpc-devel mailing list