[Gambas-user] How to clone an object?

Jussi Lahtinen jussi.lahtinen at gmail.com
Fri Apr 24 00:03:07 CEST 2020


>
> You need example from Benoit. As it is implemented only recently and I
> haven't seen any documentation for it.
>

Oh, actually there is documentation for it now...
http://gambaswiki.org/wiki/lang/special/write?nh
In the special method you need to write the private variables to the stream.

Benoit, is it possible to have Object.Copy(), which would work by using
_read method?


Jussi
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.gambas-basic.org/pipermail/user/attachments/20200424/42a29143/attachment.html>


More information about the User mailing list