I think Alceu - UFSC/Labspot wrote:

> So I undestand that focus should remain in the focus stack, although no
> facts in the agenda, is it correct?
> Thank you,
> Alceu
> 

Note that the "agenda" is the list of rules that have been matched and
are waiting to be fired. Each module has its own agenda. Facts are not
on the agenda, facts are on the fact-list. There is only one
fact-list, shared among all modules.

Anyway, when a module's agenda becomes empty, it is popped off the
focus stack, so your expectation is incorrect. Calling (focus A) when
there are no activations in module A basically does nothing; focus
will immediately return to the calling module.


---------------------------------------------------------
Ernest Friedman-Hill  
Distributed Systems Research        Phone: (925) 294-2154
Sandia National Labs                FAX:   (925) 294-2234
Org. 8920, MS 9012                  [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
(use your own address!) List problems? Notify [EMAIL PROTECTED]
--------------------------------------------------------------------

Reply via email to