Hi, do you have some problem with naming the objects with an index?

For example:

Object_i
        where 'i' is a counter that is increased every new object is
        generated.

Then you can know how many objects you store and want to retrieve.

On Wed, 9 Feb 2000, Alessandro Saporiti wrote:

> Hi , 
> as you can argue I'm dealing with a problem about object handling.
> I want to pass objects from Java to Jess and viceversa. So I use store and
> fetch.
> Both store() and fetch() allow to handle one object at a time using a
> specific name for each object.
> The problem is that the number of object to be passed in and out (Java -
> Jess) is not fixed.
> So I can't determine the name every object refers to.
> Now I use one only name to store all the objects. But I can't do the same
> for fetching them, because the object returned (fetched) is always the last
> stored (of course: I use one only name for all !! ).
> The consequence is that I can't retract (with undefinstance) any object
> other than the last.
> 
> Thank you very much.
> Alessandro.
> ---------------------------------------------------------------------
> 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]
---------------------------------------------------------------------

Reply via email to