Bah you forgot the all important case!
switch(blah)
{
default:
send_to_char( "You die horribly\r\n", ch);
break;
case 1: case 2: case 3: case 4: case 5:
send_to_char("You die less horribly.\r\n", ch);
break;
}
From: "Sarix" <[EMAIL PROTECTED]>
To: <[email protected]>
Subject: Re: Question on Switches
Date: Mon, 5 Jan 2004 16:58:53 -0700
switch(blah)
{
case 1: case 2: case 3: case 4: case 5:
send_to_char("You died.\n\r", ch);
break;
}
_________________________________________________________________
Take advantage of our limited-time introductory offer for dial-up Internet
access. http://join.msn.com/?page=dept/dialup