Newsgroups: rec.arts.int-fiction
Path: nntp.gmd.de!newsserver.jvnc.net!newsserver2.jvnc.net!howland.reston.ans.net!newsfeed.internetmci.com!in2.uu.net!cospo.osis.gov!naic.wpafb.af.mil!blackbird.afit.af.mil!zombie.ncsc.mil!admaix.sunydutchess.edu!ub!dsinc!netnews.upenn.edu!lafcol.lafayette.edu!lafibm.lafayette.edu
From: Jesse         Burneko <BJ97@lafibm.lafayette.edu>
Subject: [Inform] The switch bug.
Message-ID: <01MAY96.17675938.0065@lafibm.lafayette.edu>
Lines: 32
Sender: usenet@lafibm.lafayette.edu
Nntp-Posting-Host: lafibm
Organization: Lafayette College
Date: Wed, 1 May 1996 21:21:59 GMT

   I have been following most of the posts about Inform but I am having
trouble understanding exactly what the bug with the switch statement is.
Exactly which type out of the following styles cause the bug:

switch(random(3))
{
   1: ".....";
   2: .......;
   3:.......;
}

OR

switch(random(3))
{ 1:........;
  2:........;
  3:........;
}

I am currently coding my switch statements like the later.  It compiles
fine and it APPEARS to be working properly.  From what I have understood
from the posts this IS the style that causes the errors.  Am I just
lucky or have I not been paying enough attention during debugging?

                                              -Jesse Burneko-
   2: ......;
   .
   etc

OR

switch(random
