Path: utzoo!utgpu!jarvis.csri.toronto.edu!mailrus!nrl-cmf!ukma!tut.cis.ohio-state.edu!ucbvax!decwrl!sun!pitstop!sundc!seismo!uunet!mcvax!ukc!mucs!r1!chl From: chl@r1.uucp (Charles Lindsey) Newsgroups: comp.lang.misc Subject: Re: Structured loops (WAS:Re: Turing programming language.) Keywords: programming language Message-ID: <5494@ux.cs.man.ac.uk> Date: 3 Feb 89 17:50:44 GMT References: <11@euteal.UUCP> <89Jan20.111000est.4328@turing.toronto.edu> <9045@burdvax.PRC.Unisys.COM> <2894@ficc.uu.net> Sender: news@ux.cs.man.ac.uk Reply-To: chl@r1.UUCP (Charles Lindsey) Organization: University of Manchester, UK Lines: 25 In article <2894@ficc.uu.net> peter@ficc.uu.net (Peter da Silva) writes: >In article <9045@burdvax.PRC.Unisys.COM>, dave@emerald.PRC.Unisys.COM (David Lee Matuszek) writes: >> This is the same as the loop ... exit when ... end loop; >> except that the sense of the test is reversed. This exists in Turing. >> It also exists in an in-house language I designed and implemented a couple >> of years ago. I don't know of any other languages that use it, however. > >[Examples of languages that use it] >[and lots more examples from other people] ALGOL 68 WHILE read data; NOT end of data DO process data OD SETL LOOP DOING read(a, b) WHILE NOT EOF DO someset WITH [a, b] END LOOP C.H.Lindsey chl@ux.cs.man.ac.uk