[net.lang] Languages that allow a < x < b

lambert@mcvax.uucp (Lambert Meertens) (10/12/86)

>>> 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