[Gambas-user] sort multidimensional arrays

Jussi Lahtinen jussi.lahtinen at ...626...
Tue Oct 27 18:04:02 CET 2009


Perhaps this way:

Class1
sName as String
iNumber as Integer


Dim oo as New Object[]
Dim item as New Class1

item.sName = "Max"
item.iNumber = 14

oo.Add(item)


Jussi


On Tue, Oct 27, 2009 at 00:52, Matti <math.eber at ...221...> wrote:
>
> Benoît Minisini schrieb:
>
>> A workaround is using a Object[], and storing each line of your table inside
>> by using a dedicated class, or another array.
>
> Hmm. Sounds good, but I can't imagine how to store "each line of your table" into an Object[]
> Could you give an example?
>
> ------------------------------------------------------------------------------
> Come build with us! The BlackBerry(R) Developer Conference in SF, CA
> is the only developer event you need to attend this year. Jumpstart your
> developing skills, take BlackBerry mobile applications to market and stay
> ahead of the curve. Join us from November 9 - 12, 2009. Register now!
> http://p.sf.net/sfu/devconference
> _______________________________________________
> Gambas-user mailing list
> Gambas-user at lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/gambas-user
>




More information about the User mailing list