11.12.2009, 12:20
You have that error because you put a \ at the end, so the compiler think you want to include the next -empty- line as part of the macro.
There are other problems:
You don't have a third parameter in the pattern, but later you use %3.
You need to add a space between the pattern and the replacement.
You should put the replacement inside brackets.
You should put a ; at the end of the pattern.
There are other problems:
You don't have a third parameter in the pattern, but later you use %3.
You need to add a space between the pattern and the replacement.
You should put the replacement inside brackets.
You should put a ; at the end of the pattern.
pawn Код:
#define percorrerVetor(%1[%2],%3); \
{\
for(new %3; %3 < %2; %3++)\
{\
loopstart:\
}\
goto loopstart;\
}