Is it possible in Jess to "walk" an object model using "some kind of" dotted
notation?

For example, in JavaScript you can do the following:

{
   document.all("myTag").innerHTML = "<BR>";
}

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

or maybe:
(set [?*document*.all("myTag")] innerHTML "<BR>")

or some syntax that allowed the script writer to walk the object valued
properties of a hierarchy of objects.

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

Presumably if the engine came across an invalid intermediate value (such as
null) then it would throw a catchable exception ;-)

Suggestions?

Alan Moore mailto:[EMAIL PROTECTED]
Intel Corporation http://www.smart-tv.com
Disclaimer http://www.intel.com/tradmarx.htm

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