Flasher Archive

[Previous] [Next] - [Index] [Thread Index] - [Previous in Thread] [Next in Thread]


Subject: RE: FLASH: Sorting numbers using variables
From: Branden Hall
Date: Fri, 5 Nov 1999 05:13:46 GMT

Yeah.... sure. Except you want the variable #s changed to reflect the new order, right?
If thats the case, and you are feeling a little adventurous code-wise you can feel free to check out the qsort files at
They are a sweet little bit of code I wrote a while back --- a port of Suns version of Quicksort to Flash.
It will only sort up to about 300 #s reliably, but it is *fast*! :-)
 

-= Branden J. Hall
-= Multimedia Developer/Instructor
-= Fig Leaf Software

-----Original Message-----
From: owneratchinwag [dot] com [mailto:owneratchinwag [dot] com]On Behalf Of Waldo Smeets
Sent: Thursday, November 04, 1999 7:42 PM
To: Flash Mailinglist
Subject: FLASH: Sorting numbers using variables

Hallo,
 
i've got a short, but hard question.
I've got news items, put in variables. Each news item has got it's own number. I want those date-variables to be sorted on number.
 
Example:
 
I've got
news1=19991101
news2=19991102
news3=19991031
news4=19991201
 
And want them to be ordered like
 
news3=19991031
news1 =19991101
news2=19991102
news4=19991201
 
No matter how to approach them.
I hope i've been clear. Who knows the answer?
 
Waldo
 
 
 

-----------------------------------------
Waldo Smeets
Tongelresestraat 354
5642 NG
Eindhoven

tel. : 040 2810364
email prive: w [dot] smeetsatstud [dot] tue [dot] nl
email werk:  waldoatcare [dot] nl
-----------------------------------------

 

Replies
  RE: FLASH: Sorting numbers using variabl, Waldo Smeets

Replies
  FLASH: Sorting numbers using variables, Waldo Smeets

[Previous] [Next] - [Index] [Thread Index] - [Next in Thread] [Previous in Thread]