[fpc-pascal] Strings - suggestions

Marco van de Voort marcov at stack.nl
Sat Dec 22 17:46:55 CET 2012


In our previous episode, dev.dliw at gmail.com said:
> Users can define the internal type with e.g. {$STRING UTF8} for their *whole* 
> project.

This is technically impossible. Both FPC and Lazarus don't have a complete
overview of all units and includefiles in a project, and compiles can also
be parts of program.

Rule of thumb: anything global must be passed on the cmdline everytime, and
directives are only for unit level. (a few special ones for library units
like $libsuffix excluded)




More information about the fpc-pascal mailing list