On Dec 27, 2007, at 8:30 AM, Eric Wang wrote:

=======
Summary
=======

[6.1p8]
    (read) quietly reads a variable-like lexeme "?x" from a text file,
    and returns an atom "?x", without ever trying to evaluate it as a
    Jess variable.

[7.1b1]
    (read) throws "No such variable x" in Context.getVariable().
    (explode$) converts a string "?x" to gibberish like "^B".



The change to the parser was to support "dotted variables" in Jess 7.1. You can use syntax like ?x.y to refer to the slot named "y" if ?x is a fact, or a member
variable or method in the object ?x, if ?x is some other kind of object.

The change in behavior to "read" here is accidental; thanks for reporting it,
and it will be fixed for 7.1 final.



---------------------------------------------------------
Ernest Friedman-Hill
Informatics & Decision Sciences          Phone: (925) 294-2154
Sandia National Labs                FAX:   (925) 294-2234
PO Box 969, MS 9012                 [EMAIL PROTECTED]
Livermore, CA 94550                 http://www.jessrules.com

--------------------------------------------------------------------
To unsubscribe, send the words 'unsubscribe jess-users [EMAIL PROTECTED]'
in the BODY of a message to [EMAIL PROTECTED], NOT to the list
(use your own address!) List problems? Notify [EMAIL PROTECTED]
--------------------------------------------------------------------

Reply via email to