Xojo Conferences
XDCMay2019MiamiUSA

Sorting arrays of objects (Real Studio network user group Mailinglist archive)

Back to the thread list
Previous thread: AW: How can i get a date via OLE Automation?
Next thread: Canvas not displaying jpgs for a customer in Windows


File handling ideas ???   -   Jan Erik Moström <
  Sorting arrays of objects   -   Travis J. Hicks
   AW: How can i get a date via OLE Automation?   -   rb tk gmx.de

Sorting arrays of objects
Date: 13.08.03 06:38 (Wed, 13 Aug 2003 00:38:26 -0500)
From: Travis J. Hicks
Hello,

You can add an Operator_Compare function to your classes to allow you to do
comparison operations on them. If you add this function to a class, and
create an array of that class, shouldn't you be able to use the Sort method
to sort that array? It seems odd that I can compare two objects, but not
sort them. I have submitted a feature request.

http://support.realsoftware.com/feedback/viewreport.php?reportid=zlbemofw