On Wed, May 17, 2000 at 12:13:32PM -0400, Ashraf Afifi wrote:
>
> In your implementation you will get at most one result.
> I suggest that you return instead a java.util.Vector object instead.
> Create the Vector object as part of your initialization and store it in RESULT.
> Example: (defglobal ?*v* = (new Vector)) (store RESULT ?*v*)
> In the RHS of your rule write (call ?*v* addElement ?x)
> 
> Ashraf
> 

IMHO, Another reason to include the List interface for multislots in order to
provide more Java compatibility (which I would gladly accept)

Greetings,

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