I think Moore, Kenneth A wrote:
> 
> Is it possible in Jess to "walk" an object model using "some kind of" dotted
> notation?

> "It would be nice" if Jess supported the following (or something similar):
>
> (set ?*document*.all("myTag").innerHTML "<BR>")

Depends on what's a function, a Bean property, or a member variable, but
this might be rendered as

     (set (call ?*document* all myTag) innerHTML "<BR>")
or

     (set-member (call ?*document* all myTag) innerHtml "<BR>")

or something similar.

> 
> It appears that the only syntax allowed in Jess requires binding multiple
> intermediate variables which are used only to get to other intermediate
> values.

You don't have to bind the intermediate values to variables.




---------------------------------------------------------
Ernest Friedman-Hill  
Distributed Systems Research        Phone: (510) 294-2154
Sandia National Labs                FAX:   (510) 294-2234
Org. 8920, MS 9214                  [EMAIL PROTECTED]
PO Box 969                  http://herzberg.ca.sandia.gov
Livermore, CA 94550

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