[Ajuda] Erro local variable "Nome"
#3

** Warning 219: local variable "diimenor" shadows a variable at a preceding level

A variбvel chamada foi criada em um nнvel anterior.

Exemplo:
pawn Код:
//ERRADO
public DiimenorTest()
{
    new diimenor;
    if(Exemplo)
    {
        new diimenor;
        diimenor = 1;
    }
}
pawn Код:
//CERTO
public DiimenorTest()
{
    new diimenor;
    if(Exemplo)
    {
        diimenor = 1;
    }
}
Dб uma olhada no code ai.
Reply


Messages In This Thread
Erro local variable "Nome" - by best95 - 25.05.2014, 01:28
Re: Erro local variable "Nome" - by yNexus - 25.05.2014, 01:30
Re: Erro local variable "Nome" - by DiiMeNoR - 25.05.2014, 01:31
Re: Erro local variable "Nome" - by best95 - 25.05.2014, 01:32
Re: Erro local variable "Nome" - by DiiMeNoR - 25.05.2014, 01:34
Re: Erro local variable "Nome" - by best95 - 25.05.2014, 01:41
Re: Erro local variable "Nome" - by DiiMeNoR - 25.05.2014, 01:48

Forum Jump:


Users browsing this thread: 3 Guest(s)