Thanks for the clarification. Rand
> > On Feb 25, 2007, at 6:30 PM, [EMAIL PROTECTED] wrote: > >> I have been trying to use the fact(i) method of the class Token. >> According to the API: >> >> "i - the index (0-based) of the fact to retrieve. More recent (later) >> facts have larger indexes." > > This is some very unfortunate wording. It doesn't mean "later" in the > sense that they were added to the working memory at a later time; it > means "later" as in "farther down on the rule LHS." The fact that > matches the first pattern is fact(0); the next is fact(1), etc. I > should definitely clarify the language in the manual. > > --------------------------------------------------------- > Ernest Friedman-Hill > Advanced Software Research 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] > -------------------------------------------------------------------- > > -------------------------------------------------------------------- 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] --------------------------------------------------------------------
