[Gambas-user] How to clone an object?

Jussi Lahtinen jussi.lahtinen at gmail.com
Sat Apr 25 00:49:40 CEST 2020


>
>                mFile = Open Null For Write
>               Try Write #mfile, me As Object
>               If Error Then
>                   Error.Raise("Unable to write object to memory," &
> Error.text)
>               Endif
>

This is not necessary for most cases as you can use Object.SizeOf().


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


More information about the User mailing list