[Gambas-user] Sort user-defined objects

Grahame White grahame at ...307...
Mon May 3 13:50:04 CEST 2004


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




More information about the User mailing list