Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Posting-Version: version B 2.10.1 6/24/83; site oddjob.UChicago.UUCP Path: utzoo!linus!philabs!cmcl2!floyd!clyde!burl!mgnetp!ihnp4!oddjob!matt From: matt@oddjob.UChicago.UUCP (Matt Crawford) Newsgroups: net.lang.c Subject: Re: switch.and.case Message-ID: <259@oddjob.UChicago.UUCP> Date: Thu, 31-May-84 18:23:37 EDT Article-I.D.: oddjob.259 Posted: Thu May 31 18:23:37 1984 Date-Received: Sat, 2-Jun-84 11:32:16 EDT References: <1893@pur-ee.UUCP> Organization: U. Chicago: Astronomy & Astrophysics Lines: 8 What it does NOT do is compile, because of the duplicate "case" tags. Even without that problem, you'd go to the default because 6 != '6'. Why is this worth considering?? We have already seen, from Tom Duff's contribution of 7-May-84, that a "switch" will jump into the middle of a compound statement if you ask it to. ___________________________________________________ Matt ARPA: crawford@anl-mcs.arpa Crawford UUCP: ihnp4!oddjob!matt