That makes perfect sense.
Thank you.
- Original Message -
From: Friedman-Hill, Ernest
To: jess-users
Sent: Thursday, November 10, 2011 2:15 PM
Subject: RE: JESS: Scoping Question
Since control structures are functions in Jess, the ability for a function to
peek from one
ess-us...@sandia.gov [mailto:owner-jess-us...@sandia.gov] On
Behalf Of David Scuse
Sent: Wednesday, November 09, 2011 11:43 AM
To: jess-users
Subject: JESS: Scoping Question
Hi Ernest:
I came across a strange "feature" of Jess as a result of a typing error.
It appears as though Jess uses dy
Hi Ernest:
I came across a strange "feature" of Jess as a result of a typing error.
It appears as though Jess uses dynamic scoping -- any variables defined in a
rule
are visible in any functions called by the RHS of the rule.
I looked for references to this in the book and the manual but couldn't