16.05.2012, 22:06
Hello,
I have strange problem with variable
I have is the public OnDialogResponse the following code:
now the problem is that it says
about the second new
why is it doing that?
I have strange problem with variable
I have is the public OnDialogResponse the following code:
Код:
if(dialogid == DIALOG_REGISTER){ new SData[24][64]; ... return 1; } if(dialogid == DIALOG_LOGIN){ new SData[24][64]; ... return 1; }
Код:
local variable "SData" shadows a variable at a preceding level
why is it doing that?