Hi, I would like to have != as an infix operator, but ... ECLiPSe Constraint Logic Programming System [kernel] Copyright Imperial College London and ICL Certain libraries copyright Parc Technologies Ltd GMP library copyright Free Software Foundation Version 5.2 #10, Tue Jun 26 02:14 2001 [eclipse 1]: op(10,xfx,'!='). Yes (0.00s cpu) [eclipse 2]: read(X),display(X),nl. a != b. syntax error: postfix/infix operator expected | a != b. | ^ here No (0.00s cpu) I do not want to quote the operator. Does anyone know how to do this? I guess the ! is being read as a cut? Cheers, Geoff Geoff Sutcliffe http://www.cs.miami.edu/~geoff Department of Computer Science Email : geoff@cs.miami.edu University of Miami Phone : +1 305 2842158/2842268 (Director of Undergraduate Studies) FAX : +1 305 2842264Received on Tue Aug 24 14:08:31 2004
This archive was generated by hypermail 2.1.8 : Wed 16 Nov 2005 06:07:30 PM GMT GMT