How can I include lots of text?
I can define strings like this:
Str := 'line' + #13#10 + 'second line';
but that's terrible when I have thousands of line.
I can do {$INCLUDE text.txt}
but it needs to be a valid Pascal code.
I can do:
StringList.LoadFromFile('test.txt');
but then I need to distribute this file with my exe.
Is there a way to easily insert huge files of text into source code, like in PHP where I can just write:
$Str := 'line
second line
third line';
?