On 07 Jul 2009, at 13:57, Roland Schaefer wrote:
reading the Programmer's Manual, I get the impression that C-style macros with {$MACRO ON} cannot do things like C #define MY_MACRO(param1,param2...) code_with ( param1 && param 2 ); i.e., passing strings macros for in-macro insertion. Is this true?
Yes.
If yes, are there any plans to include such capabilities in the preprocessor?
No.
One related question: In current FPC macros, can I include {$IFDEF}s?
I doubt it, as I don't think that the preprocessing happens recursively. Jonas _______________________________________________ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/mailman/listinfo/fpc-pascal