Only a single statement (or expression) can follow each "case"
#3

Okay, i tried to use this instead:
pawn Код:
if(Model == (400 || 424 || 470 || 489 || 495 || 500 || 505 || 579))
But it gives:
Код:
(11452) : warning 217: loose indentation
(11452) : warning 213: tag mismatch
(11481) : warning 217: loose indentation
Or should i do like:
pawn Код:
if((Model == 400) || (Model == 424) || ...))
?


Okay, i found out that in my code was an open bracket which prevented proper compiling Now it compiles fine. Thank you anyways ;]
Reply


Messages In This Thread
Only a single statement (or expression) can follow each "case" - by CaHbKo - 02.12.2009, 14:38
Re: Only a single statement (or expression) can follow each "case" - by Nero_3D - 02.12.2009, 15:19
Re: Only a single statement (or expression) can follow each "case" - by CaHbKo - 02.12.2009, 15:35
Re: Only a single statement (or expression) can follow each "case" - by woot - 02.12.2009, 16:10

Forum Jump:


Users browsing this thread: 1 Guest(s)