On 23.07.2011 20:29, nando wrote:
> Ok, so the following line...
>
>    DIM Q AS NEW myClass[5]
>
> would need...
>
>    FOR i = 0 TO 4
>      myClass[i] = NEW myClass
>    NEXT
>
>
> to instantiate each myClass object.
>
> The _init would then execute creating the string objects
>
> Does this line...
>
>    myClass[5] = NULL
>
> do a deep unreference to the embedded strings too?
>
it's not really related to your problem but _init isn't called on 
instanciation but only when the class is loaded, which happens at most 
once. you may want _new...
but i can't answer your question...

------------------------------------------------------------------------------
Storage Efficiency Calculator
This modeling tool is based on patent-pending intellectual property that
has been used successfully in hundreds of IBM storage optimization engage-
ments, worldwide.  Store less, Store more with what you own, Move data to 
the right place. Try It Now! http://www.accelacomm.com/jaw/sfnl/114/51427378/
_______________________________________________
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user

Reply via email to