[Gambas-user] Sorting 2D arrays

Gianluigi bagonergi at gmail.com
Tue Aug 25 09:40:24 CEST 2020


Il giorno mar 25 ago 2020 alle ore 00:27 Gianluigi <bagonergi at gmail.com> ha
scritto:

>
>
> Il giorno lun 24 ago 2020 alle ore 18:38 Fabien Bodard <
> gambas.fr at gmail.com> ha scritto:
>
>> More short ;-)
>>
>
> Test attached, following the directions of Fabien Bodard in the hope that
> he will not scold me.
> I hope this is more understandable
>

John,

the advantage of using a class is that you can have arrays of different
data types.
For example the dates and if you have to sort the class by date use
_compare as in the ClasseUser class.
Be careful because I see that you have dates written differently from each
other.

Regards
Gianluigi
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.gambas-basic.org/pipermail/user/attachments/20200825/5b4e55a6/attachment.html>


More information about the User mailing list