An error with a macro
#1

pawn Код:
#define PlayAudioFromURL(%0, %1) StopAudioStreamForPlayer(%0),PlayAudioStreamForPlayer(%0, %1)
This macro sends me this errors:

Код:
warning 236: unknown parameter in substitution (incorrect #define pattern)
warning 236: unknown parameter in substitution (incorrect #define pattern)
error 029: invalid expression, assumed zero
warning 215: expression has no effect
error 001: expected token: ";", but found ")"
error 029: invalid expression, assumed zero
fatal error 107: too many error messages on one line
Why?



Thanks.
Reply


Messages In This Thread
An error with a macro - by JavoDiaz - 25.12.2012, 23:57
Re: An error with a macro - by [HiC]TheKiller - 26.12.2012, 00:01
Re: An error with a macro - by JavoDiaz - 26.12.2012, 00:06

Forum Jump:


Users browsing this thread: 1 Guest(s)