The neq function returns the symbol TRUE if its first argument is not equal in value to all its
subsequent arguments, otherwise it returns the symbol FALSE.
Artem Novikov
unread,
May 24, 2015, 5:08:31 PM5/24/15
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to clip...@googlegroups.com, novi...@gmail.com
..t is not equal in value to all its subsequent arguments..
CLIPS> (neq nil 1 1)
TRUE
ok, works fine
воскресенье, 24 мая 2015 г., 23:26:09 UTC+3 пользователь CLIPS Support написал:
Joshua Scoggins
unread,
May 26, 2015, 3:17:04 AM5/26/15
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to clip...@googlegroups.com
In fact, (not (neq ?a (expand$ $?args))) is an easy way to see if the first arg is equal to one of the other arts.