PDA

View Full Version : Generating definition via macro


Misiur
12/08/2013, 12:13 PM
Hi there, this time I'm on this side of thread. So

#define Example%0\32;%1! #define ABC %1
#define Foobar Result: ABC
Example CBA!
Foobar //Result: CBA
ABC //CBA

Of course this doesn't work, but is it possible to assign value from macro into normal substitution without arguments?

Pupak
12/08/2013, 02:50 PM
It's not possible to do it, you can't use compiler directive inside another one. Why would you need it anyway?