Indeed. Our friend Henrique Lopes Cardoso reported this a little while
back. It's already been fixed and the correct behavior will appear in
7.1RC1 .
On May 12, 2008, at 12:01 PM, Wolfgang Laun wrote:
The Jess manual documents <> as returning TRUE if the first argument
is not equal to all subsequent arguments. It would appear, however,
that the function returns TRUE if any two adjacent arguments are not
equal. (I can envisage the implementation being a copy of the
implementations of <, <=, >, >= and =, running the test for all
neighbours.)
Either the documentation or the implementation should be fixed.
It's difficult to see the general usefulness of the implementation
for more than 2 arguments. The described semantics seem to be a
little more useful.
Kind regards
Wolfgang
---------------------------------------------------------
Ernest Friedman-Hill
Informatics & Decision Sciences Phone: (925) 294-2154
Sandia National Labs FAX: (925) 294-2234
PO Box 969, MS 9012 [EMAIL PROTECTED]
Livermore, CA 94550 http://www.jessrules.com
--------------------------------------------------------------------
To unsubscribe, send the words 'unsubscribe jess-users [EMAIL PROTECTED]'
in the BODY of a message to [EMAIL PROTECTED], NOT to the list
(use your own address!) List problems? Notify [EMAIL PROTECTED]
--------------------------------------------------------------------