I think D. Lopez-De-Ipina wrote:
> > fix. Try adding a test to verify that the users are in a unique order, i.e.
> > alphabetical, with:
> >
> > (test (> 0 (str-compare ?user1 ?user2)))
> Thanks, this works. However, I am looking for a more open solution and
> still I wonder what is wrong on saying:
>
> (not (or (people-toguether ?user1 ?user2) (people-toguether ?user2
> ?user1))
>
> Jess complains saying: Bad slot value . at the line where the above
> statement is written.
Noe that the "or" conditional element is not documented in the Jess
manual, because its implementation still experimental and its
behaviour a bit lacking in spots. The next release should improve
matters somewhat. For now, unfortunately, nesting "not"s inside or
outside of "or"s does not work properly.
>
> Thanks,
>
> Diego
>
---------------------------------------------------------
Ernest Friedman-Hill
Distributed Systems Research Phone: (925) 294-2154
Sandia National Labs FAX: (925) 294-2234
Org. 8920, MS 9012 [EMAIL PROTECTED]
PO Box 969 http://herzberg.ca.sandia.gov
Livermore, CA 94550
---------------------------------------------------------------------
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]
---------------------------------------------------------------------