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

Marco van de Voort core at pascalprogramming.org
Mon Jul 8 14:58:44 CEST 2019


Op 08/07/2019 om 06:27 schreef J. Gareth Moreton:
> I'm a bit late to the party again, but the example of an OpenGL shader 
> has won me over, since game design is one thing I enjoy doing.  I 
> guess I'm still a bit unsure how leading and trailing whitespace 
> should be handled, but as long as it's well-documented, I think I'll 
> be happy!
>
> Speaking of shaders, I would request the {$INCLUDESTRINGFILE} thing 
> alongside it, because things like shaders are programs in themselves 
> and may have to be tested in a third-party application, so including 
> the file directly rather than copying and pasting its contents would 
> be much safer if changes need to be made.
>
I include them now as resources. Windows only atm though



More information about the fpc-devel mailing list