just a short appendix: shouldnt it be with $?my list

> The "foreach" function is the easiest way to iterate over a list.
> 
> (bind $?my-list (create$ a b c d 1 2 3))
> (foreach ?item $?my-list
>    (printout t ?item crlf))

sorry for probably being fussy... ;-)



> I think Richard Patten wrote:
> > 
> > Hello everybody,
> > 
> >    I have two questions that I need some help with
> > 
> > 
> > (1)   Is there any way to make java halt until JESS finishes processing
> the rules.  What I noticed is that when java gives a processing
instruction
> to the rule enging it will continue along its path.
> 
> You'll have to describe what you've noticed exactly. Jess doesn't
> create any of its own threads, when a method you've called from Java
> returns, Jess is done. Maybe if you describe something you did, what
> happened, and what you'd like to have happen instead, we could offer
> some sugestions.
> 
> 
> >
> > (2)   Is there any way to iterate through and array of objects I create
> in JESS, not neccessarily an array of string.
> 
> The "foreach" function is the easiest way to iterate over a list.
> 
> (bind ?my-list (create$ a b c d 1 2 3))
> (foreach ?item ?my-list
>    (printout t ?item crlf))
> 
> 
> ---------------------------------------------------------
> 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]
> --------------------------------------------------------------------
> 

-- 
+++ GMX - Mail, Messaging & more  http://www.gmx.net +++
NEU: Mit GMX ins Internet. Rund um die Uhr f|r 1 ct/ Min. surfen!

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