great, 
thanks Torsten.

Rahma 


________________________________
De : "[email protected]" <[email protected]>
À : [email protected]
Envoyé le : Vendredi, 25 Septembre 2009, 12h00mn 03s
Objet : mozart-users Digest, Vol 35, Issue 10

Send mozart-users mailing list submissions to
    [email protected]

To subscribe or unsubscribe via the World Wide Web, visit
    http://lists.gforge.info.ucl.ac.be/mailman/listinfo/mozart-users
or, via email, send a message with subject or body 'help' to
    [email protected]

You can reach the person managing the list at
    [email protected]

When replying, please edit your Subject line so it is more specific
than "Re: Contents of mozart-users digest..."


Today's Topics:

   1. killing a class instance (rahma rahma)
   2. Re: killing a class instance (Torsten Anders)


----------------------------------------------------------------------

Message: 1
Date: Fri, 25 Sep 2009 05:42:40 +0000 (GMT)
From: rahma rahma <[email protected]>
Subject: killing a class instance
To: Mozart users <[email protected]>
Message-ID: <[email protected]>
Content-Type: text/plain; charset="utf-8"

hello guys,

i want to kill an instance of a class in my programs. 
i want to be sure that at a moment "x", the instance "instance_i" does not 
exist.
does oz allows this? if yes, how?



      
-------------- next part --------------
An HTML attachment was scrubbed...
URL: 
http://lists.gforge.info.ucl.ac.be/pipermail/mozart-users/attachments/20090925/ebe13d8c/attachment-0001.html

------------------------------

Message: 2
Date: Fri, 25 Sep 2009 10:33:14 +0100
From: Torsten Anders <[email protected]>
Subject: Re: killing a class instance
To: Mozart users <[email protected]>
Message-ID: <[email protected]>
Content-Type: text/plain; charset="US-ASCII"; format=flowed; delsp=yes

What do you mean by "killing". Do you want to enforce a dangling  
pointer?  Just make sure that noone references your object, then it  
gets garbage collected :)

Best
Torsten

On 25.09.2009, at 06:42, rahma rahma wrote:

> hello guys,
>
> i want to kill an instance of a class in my programs.
> i want to be sure that at a moment "x", the instance "instance_i"  
> does not exist.
> does oz allows this? if yes, how?
>
> <ATT00001.txt>



------------------------------

_______________________________________________
mozart-users mailing list
[email protected]
http://lists.gforge.info.ucl.ac.be/mailman/listinfo/mozart-users

End of mozart-users Digest, Vol 35, Issue 10
********************************************



      
_________________________________________________________________________________
mozart-users mailing list                               
[email protected]
http://www.mozart-oz.org/mailman/listinfo/mozart-users

Reply via email to