From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: f7344,8be18979db11f51c X-Google-Attributes: gidf7344,public X-Google-Thread: 1164f8,fb631c9316319fef X-Google-Attributes: gid1164f8,public X-Google-ArrivalTime: 2001-02-27 23:16:03 PST Path: supernews.google.com!sn-xit-03!supernews.com!nntp.cs.ubc.ca!newsflash.concordia.ca!sunqbc.risq.qc.ca!wesley.videotron.net!wagner.videotron.net.POSTED!not-for-mail Message-ID: <3A9CA5B0.3614CAE7@videotron.ca> From: JF Mezei X-Mailer: Mozilla 4.76 (Macintosh; U; PPC) X-Accept-Language: en MIME-Version: 1.0 Newsgroups: comp.os.vms,comp.sys.dec Subject: Re: Drop C/C++ better sooner than later References: <87n1baae6s.fsf@prep.synonet.com> <97bm3a$7tv@gap.cco.caltech.edu> <3A99AED0.5DF07890@infopuls.com> <97cd06$hcn$1@pyrite.mv.net> <97egck$vc6$3@info.cs.uofs.edu> <3A9AEFCD.AFC8431@infopuls.com> <97etsu$j41$1@pyrite.mv.net> <3A9B023A.CBD414A5@infopuls.com> <97hvro$hj4@freepress.concentric.net> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Date: Wed, 28 Feb 2001 02:16:09 -0500 NNTP-Posting-Host: 24.202.53.146 X-Complaints-To: abuse@videotron.net X-Trace: wagner.videotron.net 983344503 24.202.53.146 (Wed, 28 Feb 2001 02:15:03 EST) NNTP-Posting-Date: Wed, 28 Feb 2001 02:15:03 EST Xref: supernews.google.com comp.os.vms:20469 comp.sys.dec:2897 re: switch / case: I have had occasions where I did make use of the lack of automatic "break" at the end of a case statement. Think of a dishwasher: switch(wash_type) { case heavy_duty: fill_tank(); wash(5 minutes, no_spoap, no_rinse_agent); empty_tank(); case very_dirty: fill_tank(); wash(5 minutes, no_spoap, no_rinse_agent); empty_tank(); case regular: fill_tank(); wash(10 minutes, spoap, no_rinse_agent); empty_tank(); case rinse: fill_tank(); wash(10 minutes, no_spoap, rinse_agent); empty_tank(); dryer(15 minutes); break; case rinse_only: fill_tank(); wash(5 minutes, no soap, no rinse agent); empty_tank(); break; case dish_warmer: dryer(5 minutes); break; So, in the case of a heavy_duty wash, it will fall down all the way to the end of the rinse and then stop.