Generating definition via macro
#1

Hi there, this time I'm on this side of thread. So

pawn Код:
#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?
Reply
#2

It's not possible to do it, you can't use compiler directive inside another one. Why would you need it anyway?
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)