Switch + else?
#3

Quote:
Originally Posted by [NoV]LaZ
Посмотреть сообщение
It doesn't, but default does.

pawn Код:
switch ( casenr )
{
    case 1:
    case 2:
    default: // if case 1 and case 2 fail
}
Superb, thanks
Reply


Messages In This Thread
Switch + else? - by CrucixTM - 18.10.2010, 20:00
Re: Switch + else? - by [NoV]LaZ - 18.10.2010, 20:04
Re: Switch + else? - by CrucixTM - 18.10.2010, 20:23

Forum Jump:


Users browsing this thread: 1 Guest(s)