Defined?
#1

Hy

I dont know why, but the pawno is write, the variable is defined... but before there was such a problem...

If i write this to a command:
pawn Код:
new where[80], data[60][60];
The other commands, what is use "where" or "data" variable, is say this:
Код:
*****(15833) : warning 219: local variable "data" shadows a variable at a preceding level
*****(17162) : warning 219: local variable "where" shadows a variable at a preceding level
*****(17316) : warning 219: local variable "where" shadows a variable at a preceding level
*****(17434) : error 021: symbol already defined: "where"
*****(17470) : warning 219: local variable "where" shadows a variable at a preceding level
*****(24033) : warning 219: local variable "where" shadows a variable at a preceding level
*****(24133) : warning 219: local variable "where" shadows a variable at a preceding level
What is the problem with the "data" ?
Reply
#2

Thats because youґve got another data variable somewhere else in your script. You can fix the problem renaming data to data2 or something like that. Same with the where.
Reply
#3

Yes, but if I write only where, its not problem... o.O
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)