How would one pattern match a blank character?  Would you use the
c-syntax
for blank and other white space as shown below?  Compiling the code
below
returns TRUE, but I can only test it by asserting tRec (code '\b') which
of
course matches, but is that how it is received from Java?
The java object for tRec (using defclass instead of the
deftemplate below), has code defined as a char, where
it is initialized to ' '.  Should the rule below match correctly?

(deftemplate tRec
    (slot code))
(defrule checkBlank
    (tRec (code '\b'))     <===does this work?
    =>
    (printout t "code is blank" crlf))

Thanks,
Kathy Lee Simunich
Argonne National Lab


---------------------------------------------------------------------
To unsubscribe, send the words 'unsubscribe jess-users [EMAIL PROTECTED]'
in the BODY of a message to [EMAIL PROTECTED], NOT to the
list. List problems? Notify [EMAIL PROTECTED]
---------------------------------------------------------------------

Reply via email to