[Gambas-user] Sorting 2D arrays

Gianluigi bagonergi at gmail.com
Thu Aug 27 10:33:28 CEST 2020


Il giorno mer 26 ago 2020 alle ore 14:36 Gianluigi <bagonergi at gmail.com> ha
scritto:

>
> I am attaching something similar to what Fabien has suggested, perhaps ...
>

Hi JoHn,

it is not easy for me to explain classes and objects (assuming I understand
them) in a language other than mine.
In the last example I left Private $hGlobalObject As New Object[] and Dim
hObj As Object because when I wrote it, it had helped me in understanding,
in fact a class transforms into an object at the moment of its
instantiation (object = new class).
Rereading the code it seems to me that this can be confusing, Dim hObj As
Object in Sub Main, should be written as Dim hSeries As CSeries and Private
$hGlobalObject As New Object[] should be written Private $aSeries As New
CSeries[]

Hope it helps
Gianluigi
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.gambas-basic.org/pipermail/user/attachments/20200827/0ae51367/attachment.html>


More information about the User mailing list