Am I correct in assuming that the following 2 alternatives for comparing
string values
produce the same results in JESS? Note, bind variable ?X is bound to a
STRING slot value.

(test (eq* ?X "ABC"))
(test (= 0 (str-compare ?X "ABC")))

If so, what are the advantages of using 1 versus the other? Is there a
performance difference?

Thanks in advance,
mike
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