Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Path: utzoo!mnetor!seismo!think!husc6!bu-cs!bzs From: bzs@bu-cs.BU.EDU (Barry Shein) Newsgroups: net.lang.pascal Subject: Re: Linear search again Message-ID: <1024@bu-cs.bu-cs.BU.EDU> Date: Fri, 8-Aug-86 22:07:28 EDT Article-I.D.: bu-cs.1024 Posted: Fri Aug 8 22:07:28 1986 Date-Received: Wed, 13-Aug-86 01:26:44 EDT Organization: Boston U. Comp. Sci. Lines: 13 > for i in [l..h] until answer <> -maxint do > >I think (I am at home or I would check) that the language Mesa, >developed by Xerox, has a loop of this form... You will find a rich set of loop constructs like this in PL/I, eg: DO I = START TO END WHILE FLAG ^= FALSE ; etc etc. -Barry Shein, Boston University