Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Path: utzoo!watmath!clyde!cbosgd!ihnp4!inuxc!pur-ee!uiucdcs!ccvaxa!aglew From: aglew@ccvaxa.UUCP Newsgroups: net.lang.c Subject: Re: What should be added to C, call Message-ID: <2600064@ccvaxa> Date: Wed, 18-Jun-86 11:17:00 EDT Article-I.D.: ccvaxa.2600064 Posted: Wed Jun 18 11:17:00 1986 Date-Received: Fri, 20-Jun-86 05:29:48 EDT References: <797@isis.UUCP> Lines: 20 Nf-ID: #R:isis.UUCP:797:ccvaxa:2600064:000:547 Nf-From: ccvaxa.UUCP!aglew Jun 18 10:17:00 1986 ... > Multiple way ifs and cases: I prefer a syntax something like this: IF x < y THEN .... :: x = y THEN .... :: x > y THEN .... ENDIF where :: means "evaluate alternative concurrently", and is distinct from "else" in that it applies no sequentialization of the tests. For people into theory, this is really just a guarded statement `a la Dijkstra. And, no, I do not propose to put this into C. Andy "Krazy" Glew. Gould CSD-Urbana. USEnet: ihnp4!uiucdcs!ccvaxa!aglew 1101 E. University, Urbana, IL 61801 ARPAnet: aglew@gswd-vms