"error 021: symbol already defined" pawn bug?
#1

When I use script like:
Код:
if (something)
{
	new xx[5][5]; // 5 just for example
}else{
	new xx[5][5]; // error 021: symbol already defined: "xx"
}
It will cause error 021: symbol already defined: "xx" on 5. line. Why?


There is everything ok:
Код:
if (something)
{
	new xx[5]; // 5 just for example
}else{
	new xx[5]; // 5 just for example
}
but if I use 2+ arrays [..][..], it will cause error.
Код:
if (something)
{
	new xx[5][5][5]; // 5 just for example
}else{
	new xx[5][5][5]; // error 021: symbol already defined: "xx"
}
It is a pawn bug?
Reply


Messages In This Thread
"error 021: symbol already defined" pawn bug? - by Luk_Ass - 11.07.2010, 10:44
Re: "error 021: symbol already defined" pawn bug? - by Grim_ - 11.07.2010, 10:48
Re: "error 021: symbol already defined" pawn bug? - by Luk_Ass - 11.07.2010, 10:55
Re: "error 021: symbol already defined" pawn bug? - by Grim_ - 11.07.2010, 10:56
Re: "error 021: symbol already defined" pawn bug? - by RyDeR` - 11.07.2010, 12:44

Forum Jump:


Users browsing this thread: 1 Guest(s)