08.07.2013, 21:52
First, I was using
case 0: command1;
case 1: command2;
With it successfully working.
Then I decided to update it to
case 0:
{
command1;
command11;
}
case 1:
{
command2;
command22;
}
It ceased to do anything upon selection of any item in the menu.
So I change it back to..
case 0: command1;
case 1: command2;
And instead of working again, everything broke.
wtf...?
there's no other error in my coding, I went through it with a fine tooth comb.
[solved]
[solved]
[solved]
case 0: command1;
case 1: command2;
With it successfully working.
Then I decided to update it to
case 0:
{
command1;
command11;
}
case 1:
{
command2;
command22;
}
It ceased to do anything upon selection of any item in the menu.
So I change it back to..
case 0: command1;
case 1: command2;
And instead of working again, everything broke.
wtf...?
there's no other error in my coding, I went through it with a fine tooth comb.
[solved]
[solved]
[solved]