switch break

Erik Naggum enag at ifi.uio.no
Thu Oct 4 11:24:25 AEST 1990


In article <1990Oct3.160403.517 at Neon.Stanford.EDU> dkeisen at Gang-of-Four.Stanford.EDU (Dave Eisen) writes:

   Besides, it always seems silly to me to have to write break a dozen
   times in a long switch to do what in my mind is the canonical 
   operation.

May I suggest

	#define Case break; case

--
[Erik Naggum]		Naggum Software; Gaustadalleen 21; 0371 OSLO; NORWAY
	I disclaim,	<erik at naggum.uu.no>, <enag at ifi.uio.no>
  therefore I post.	+47-295-8622, +47-256-7822, (fax) +47-260-4427



More information about the Comp.lang.c mailing list