Path: utzoo!utgpu!news-server.csri.toronto.edu!mailrus!cs.utexas.edu!samsung!uunet!mcsun!ukc!tcdcs!swift.cs.tcd.ie!vax1.tcd.ie!cbuckley From: cbuckley@vax1.tcd.ie Newsgroups: comp.lang.c Subject: Re: do...while vs. repeat...until Summary: naughty naughty Message-ID: <5826.260b6a7e@vax1.tcd.ie> Date: 24 Mar 90 12:39:26 GMT References: <16188@haddock.ima.isc.com> <9130009@hpavla.AVO.HP.COM> Organization: Computer Laboratory, Trinity College Dublin Lines: 25 In article , night@pawl.rpi.edu (Trip Martin) writes: > An interesting note that might give some perspective to this issue is how > Plus, a little-known language that I'm somewhat familiar with, handles loops. > Instead of having both while and do..while forms of loops, it uses one form > called cycle. Cycle is an infinite loop. You can then stick exit statements > anywhere in the loop (and then can be conditional, with both flavors of tests > supported). Conceptually, it's a more general way of handling loops. > > Trip Martin ...... in other words ....... GOTO ! ............................. +-----------------------------------------------------------------+ | Colm Buckley. (Computer Science, Trinity College, Dublin) | | | | EMAIL : cbuckley@vax1.tcd.ie | | Phone : Dublin 770101 | +---+---------------------------------------------------------+---+ | Beware of a programmer with a screwdriver... | +---------------------------------------------------------+