Using strings/variables in #define definitive
#3

well i was testing something
for example this
pawn Код:
#define SetHook:%1(%2) \
  #define zzz %1  \
  CallLocalFunction("Set")
errors
Код:
: error 029: invalid expression, assumed zero
: error 017: undefined symbol "zzz"
: error 076: syntax error in the expression, or invalid function call
: fatal error 107: too many error messages on one line
Reply


Messages In This Thread
Using strings/variables in #define definitive - by BroZeus - 17.07.2014, 09:29
Re: Using strings/variables in #define definitive - by Konstantinos - 17.07.2014, 09:44
Re: Using strings/variables in #define definitive - by BroZeus - 17.07.2014, 09:55
Re: Using strings/variables in #define definitive - by Konstantinos - 17.07.2014, 10:08
Re: Using strings/variables in #define definitive - by BroZeus - 17.07.2014, 10:30

Forum Jump:


Users browsing this thread: 1 Guest(s)