Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Path: utzoo!watmath!clyde!caip!think!husc6!seismo!mcvax!lambert From: lambert@mcvax.uucp (Lambert Meertens) Newsgroups: net.lang Subject: Languages that allow a < x < b Message-ID: <7103@boring.mcvax.UUCP> Date: Sun, 12-Oct-86 15:39:43 EDT Article-I.D.: boring.7103 Posted: Sun Oct 12 15:39:43 1986 Date-Received: Tue, 14-Oct-86 07:29:18 EDT References: <7796DMB@PSUVMA> <21461@rochester.ARPA> Reply-To: lambert@boring.uucp (Lambert Meertens) Organization: CWI, Amsterdam Lines: 14 Keywords: s-expressions punctuation Apparently-To: rnews@mcvax >>> As a side note does any language allow the mathematically normal syntax of >>> IF (4 < x < 8) THEN blabla > This question has recurred already. Perhaps somebody who > followed the previous round could post a Definitive List of > Languages Whose Comparisons Bind the Usual Way? The languages that I know of that allow this are ABC (formerly called B), BCPL, COBOL and ICON. That Common Lisp has this too was new to me; I have never seen a definition of that language. -- Lambert Meertens, CWI, Amsterdam; lambert@mcvax.UUCP