switch.and.case

Matt Crawford matt at oddjob.UChicago.UUCP
Fri Jun 1 08:23:37 AEST 1984


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 at anl-mcs.arpa
Crawford		UUCP: ihnp4!oddjob!matt



More information about the Comp.lang.c mailing list