I would like to know how to get TsiLang to cope with strings that span multiple lines and which have carriage returns within them.
I have this code before scanning for strings:
Code: Select all
const
crlf2 = #13#10#13#10;
TestMultiLineString = 'Line 01' + crlf2 +
'Line 02';
Code: Select all
TestMultiLineString: string = 'Line 01' + crlf2 + // TSI: Localized (Don't modify!)
'Line 02';
The example is trivial and the lines are short. I know I could join them all into a single line. But, in my real project I have many string constants that are long and contain several lines (and this is how they need to be displayed on the screen).
What is the correct way to deal with this situation please?