Dear all,

While following the "Jess in action" book to learn JESS, I run into a question.

On page 207 of the book, there is one line of code that I cannot understand 
fully. The part of the Listing 13.1 has (bind ?s ?question " ") and I don't 
quite understand why the additional " " was used in this bind method.

I tried to see the effect of the additional " " by experimenting it in the JESS 
command line, but did not find any meaningful difference.
For example,
JESS prompt> (bind ?question "Hello")
JESS prompt> (bind ?s ?question " ")
JESS prompt> ?s ;; returns "Hello" without the space
JESS prompt> (bind ?question "Hello")
JESS prompt> (bind ?s ?question "123")
JESS prompt> ?s ;; returns only "Hello" without 123

Can any one explain when I need to use additional " " or any string in the bind 
method in JESS?

Thanks in advance.

Young-Jin Lee  



--------------------------------------------------------------------
To unsubscribe, send the words 'unsubscribe jess-users y...@address.com'
in the BODY of a message to majord...@sandia.gov, NOT to the list
(use your own address!) List problems? Notify owner-jess-us...@sandia.gov.
--------------------------------------------------------------------

Reply via email to