I'm not sure if this is an error or intended behavior:

 (assert (aa "001 002 333 004 BOGUS"))


(defrule aa
    (aa ?x)
=>
    (printout t "EXPLODED X: " (explode$ ?x) crlf)
)


(run) results in the following printout:

EXPLODED X: (1 2 333 4 BOGUS)

Notice the leading zeroes of tokens are dropped.  Therefore I cannot
reason on what I thought was the length of each token.

Is this expected?  If so, why?

Thanks,
ML



---------------------------------------------------------------------
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