Problem with macro
#1

Good morning. I'm making a macro in order to traverse the vector of a variable, but as I do not know much about macros, is giving an error:
Код:
error 075: input line too long (after substitutions)
Macro:
pawn Код:
#define percorrerVetor(%1[%2])\
        for(new %3; %3 < %2; %3++)\
        {\
            loopstart:\
        }\
        goto loopstart;\
And how I write this macro (or function) more readable and better performance?

Thanks!
Reply


Messages In This Thread
Problem with macro - by -xy! - 11.12.2009, 11:58
Re: Problem with macro - by yom - 11.12.2009, 12:20

Forum Jump:


Users browsing this thread: 1 Guest(s)