Kinda useless question
#10

Well, abt the brackets, I put them in a new line, it's easier to find a missing bracket then.
Compare this
pawn Код:
public Something(sthing) {
    for(new i; i < MAX_PLAYERS; i++) {
        DoSomethin
    }
    return true;
}
It's easier to find a missing bracket like this:
pawn Код:
public Something(sthing)
{
    for(new i; i < MAX_PLAYERS; i++)
    {
        DoSomethin
    }
    return true;
}
Isn't it?

Abt the spaces, I might start scripting with spaces. LoL!
Reply


Messages In This Thread
Kinda useless question - by Mean - 08.02.2011, 15:39
Re: Kinda useless question - by Finn - 08.02.2011, 16:38
Re: Kinda useless question - by weedarr - 08.02.2011, 16:41
Re: Kinda useless question - by Mean - 08.02.2011, 16:57
Re: Kinda useless question - by Donny_k - 08.02.2011, 17:08
Re: Kinda useless question - by DeathOnaStick - 08.02.2011, 17:22
Re: Kinda useless question - by mamorunl - 08.02.2011, 22:12
Re: Kinda useless question - by Hal - 09.02.2011, 02:26
Re: Kinda useless question - by ev0lution - 09.02.2011, 03:18
Re: Kinda useless question - by Mean - 09.02.2011, 08:46

Forum Jump:


Users browsing this thread: 2 Guest(s)