🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.lang.misc
Article #6285

Re: Structured loops (WAS:Re: Turing programming language.)

#6285
From: Charles Lindsey
Date: Fri, 03 Feb 1989 17:50
25 lines
1396 bytes
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 <boolean> ... 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
Technical Details
Message-ID: <5494@ux.cs.man.ac.uk>
Path: arc1-ca.pugleaf.net!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
References: <11@euteal.UUCP> <89Jan20.111000est.4328@turing.toronto.edu> <9045@burdvax.PRC.Unisys.COM> <2894@ficc.uu.net>

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!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