a simple question / case('X'):
Hello,
when i use the case('1'): till case('9'): it works fine to compile but when i use case('8'): till case('12'): he says me en error : Code:
/groups/amxmodx/tmp3/text43obsz.sma(940) : warning 213: tag mismatchHow i can fix it? Thanks a lot !!! |
Re: a simple question / case('X'):
Show code, case is not a function, don't place ( and ) after it.
I am assuming you're using switch(). Code:
switch(variable)Code:
new szText[] = "abc123" |
Re: a simple question / case('X'):
Thanks for the fast answer but i didnt understand you..
here is a part of the code : Code:
Code:
|
Re: a simple question / case('X'):
Pff, what a waste of 5 minutes...
Read my post again, case is not a function and you MUST NOT add ( and ) to it, see my examples. |
Re: a simple question / case('X'):
That's not the problem, your problem is case '12'.
Case receives a cell value, and '12' is a string with two cells. Also, ' is used for chars only, you have to use " for strings. |
Re: a simple question / case('X'):
You will need to do it like it is shown in the new menus tutorial.
|
| All times are GMT -4. The time now is 00:17. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.