[Gambas-user] Sort user-defined objects

Benoit Minisini gambas at ...1...
Mon May 3 16:43:33 CEST 2004


On Monday 03 May 2004 13:50, Grahame White wrote:
> Say I have an array of an object called Square. The object Square has the
> following properties:
>
> 	Width
> 	Height
> 	Area
>
> Now if I want to sort the array which, if any, of the properties would it
> be sorted by? Is there a way to choose which property to sort by or would
> I have to make my own method for the Square object?
>
> Grahame
>

At the moment you need to sort array of objects yourself.

-- 
Benoit Minisini
mailto:gambas at ...1...




More information about the User mailing list