[Gambas-user] gb3: sorting an array-like structure

Kevin Fishburne kevinfishburne at ...1887...
Thu May 5 07:46:22 CEST 2011


On 05/05/2011 01:39 AM, nando wrote:
> ?
> Do you mean sorting [0, 1] to [1000, 1]
> Because the 1 is the second element of the second dimension
> ??

We are misunderstanding each other. I know arrays start at zero when 
referencing their elements and dimensions outside of the declaration. By 
second element, I mean the number one. That's not really relevant, 
though, as I'm basically asking if there is a method to sort an array 
without creating an elaborate sorting procedure. Is there a mechanism 
for sorting an array, or an array-like structure, inherent in GAMBAS or 
do I need to sort manually?

-- 
Kevin Fishburne
Eight Virtues
www: http://sales.eightvirtues.com
e-mail: sales at ...1887...
phone: (770) 853-6271





More information about the User mailing list