Recent

Author Topic: Best way to include lots of text?  (Read 2355 times)

BobDog

  • Sr. Member
  • ****
  • Posts: 394
Re: Best way to include lots of text?
« Reply #15 on: June 08, 2023, 05:06:45 pm »
An include file works fine, you only need two lines to declare the string

... nope...
I got it wrong
« Last Edit: June 08, 2023, 05:51:33 pm by BobDog »

Thaddy

  • Hero Member
  • *****
  • Posts: 14363
  • Sensorship about opinions does not belong here.
Re: Best way to include lots of text?
« Reply #16 on: June 08, 2023, 05:13:13 pm »
Akira1264 is or was working on this. I don't know if it is finished yet:
Code: Pascal  [Select][+][-]
  1. https://forum.lazarus.freepascal.org/index.php?topic=46050.30
And fpc-develop mailing list.
Object Pascal programmers should get rid of their "component fetish" especially with the non-visuals.

PascalDragon

  • Hero Member
  • *****
  • Posts: 5462
  • Compiler Developer
Re: Best way to include lots of text?
« Reply #17 on: June 08, 2023, 06:14:51 pm »
Akira1264 is or was working on this. I don't know if it is finished yet:
Code: Pascal  [Select][+][-]
  1. https://forum.lazarus.freepascal.org/index.php?topic=46050.30
And fpc-develop mailing list.
It's done and would simply need reintegration. However I won't do so until I've found the time to also finish the patch for $IncludeStringFile directive as a more sane alternative.

 

TinyPortal © 2005-2018