[Gambas-devel] sorting an array

Fabien Bodard gambas.fr at ...176...
Thu Oct 29 14:34:57 CET 2009


dim MyStringArray as string[]

MyStringArray = ["Alphonse", "Zephir", "Raymond", "Loyal", "Richard"]

Print MyArray.Join("\n")

MyString.Sort

Print MyArray.Join("\n")

2009/10/29 richard terry <rterry at ...627...>:
> I have a feeling I've missed a recent thread on this, but I wondered if there
> was any easy way to sort an array of names alphabetically for printing, where
> the names are pulled randomly.
>
> Regards
>
> Richard
>
> ------------------------------------------------------------------------------
> 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-devel mailing list
> Gambas-devel at lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/gambas-devel
>




More information about the Devel mailing list