Path: utzoo!utgpu!watmath!att!tut.cis.ohio-state.edu!brutus.cs.uiuc.edu!wuarchive!texbell!sugar!ficc!peter From: peter@ficc.uu.net (Peter da Silva) Newsgroups: comp.lang.misc Subject: Re: What I'd really like to see in an if-statement... Message-ID: <5689@ficc.uu.net> Date: 15 Aug 89 15:02:08 GMT References: <178@enea.se> <3829@bd.sei.cmu.edu> Organization: Xenix Support, FICC Lines: 18 In article <3829@bd.sei.cmu.edu>, firth@sei.cmu.edu (Robert Firth) writes: > The above is a feature of the language BCPL... > if x < f() < y do ... > might call f() once or twice, for reasons difficult to explain to a > beginner. Every now and then I read about something that gives me the same sensation as discovering a hole in a baby-wipe when changing a soiled daiper. If the language is designed so that f() can be called twice, then that is a design flaw. Boy, I'm glad they didn't write UNIX at Cambridge. -- Peter da Silva, Xenix Support, Ferranti International Controls Corporation. Business: peter@ficc.uu.net, +1 713 274 5180. | "The sentence I am now Personal: peter@sugar.hackercorp.com. `-_-' | writing is the sentence Quote: Have you hugged your wolf today? 'U` | you are now reading"