[fpc-devel] MACRO - correct syntax?

Florian Klämpfl florian at freepascal.org
Sun Feb 25 13:31:18 CET 2018


Am 25.02.2018 um 13:28 schrieb Giuliano Colla:
> Il 25/02/2018 13:15, Sven Barth via fpc-devel ha scritto:
> 
>> Yes, we definitely feel good about this, because we don't *want* parameter support in FPC's macro
>> handling. 
> 
> Maybe I'm obtuse, but I fail to grasp the reason why.
> Can you elaborate a bit more?

To limit their use. More can be read here:
https://stackoverflow.com/questions/14041453/why-are-preprocessor-macros-evil-and-what-are-the-alternatives

The same would would apply to pascal as well.



More information about the fpc-devel mailing list