[Gambas-user] [Fwd: Gambas3 Pointers example] signal #6

Jussi Lahtinen jussi.lahtinen at ...626...
Tue Jan 11 19:42:43 CET 2011


> if i use
> s=Str@(pPointer)
>
> this means
> address1=adress2 ?
>

Kind of... even this doesn't change the situation:

sTmp = Str@(pPointer)
s = sTmp

I'm not sure this is good thing, may cause weird bugs and confusion!
I think this is because strings are objects in Gambas...
maybe Str@() should do internal copy of data, instead of association object1
= object2?

What do you think Benoit?

Jussi



More information about the User mailing list