I thought I read something about this before but I could not find it in the archives.

What is the difference between using (test (not ...)) versus (not (test ...)) in a rule:

Example
(defrule Rule1 "Rule1"
 (A (s1 ?x))
 (B (s1 ?y))
 (not (test (< ?x ?y)))
=>
    do something

Alternative

(defrule Rule2 "Rule2"
 (A (s1 ?x))
 (B (s1 ?y))
 (test (not (< ?x ?y)))
=>
    do something

These rules seem to evaluate the same. Is one method preferred over the other? Is
one more efficient? I want to make sure I'm using the appropriate method.

Thanks,
 

begin:vcard 
n:Leiper;Mike
x-mozilla-html:FALSE
url:www.dsdesigns.com
org:Delta System Designs, Inc.
adr:;;508 South Main St;Zelienople;PA;16063;
version:2.1
email;internet:[EMAIL PROTECTED]
title:System Programmer
fn:Mike Leiper
end:vcard

Reply via email to