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 16:09:58 GMT

Sure, you just use ASCII ordering to sort (ord) and do multiple passes
sorting within each letter group...

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


-----Original Message-----
From: owneratchinwag [dot] com [owneratchinwag [dot] com]On">mailto:owneratchinwag [dot] com]On Behalf Of Waldo
Smeets
Sent: Friday, November 05, 1999 10:42 AM
To: flasheratchinwag [dot] com
Subject: RE: FLASH: Sorting numbers using variables



Thanks!

Looks good. I'll studie on your files.
I've also tried something myself, but somehow it doesn't work yet.....

Is something like that also usable for sorting strings alphabetically?

Waldo





-----Original Message-----
From: owneratchinwag [dot] com [owneratchinwag [dot] com]On">mailto:owneratchinwag [dot] com]On Behalf Of Branden
Hall
Sent: vrijdag 5 november 1999 6:22
To: flasheratchinwag [dot] com
Subject: RE: FLASH: Sorting numbers using variables


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
http://members.xoom.com/vparadigm
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 [owneratchinwag [dot] com]On">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
-----------------------------------------





flasher is generously supported by...
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Streaming Media WEST '99 Conference & Exhibition
"The Worlds largest Internet Audio & Video Event"
December 7 - 9, San Jose Convention Center, California

Reserve your space today at http://www.streamingmedia.com
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
To unsubscribe or change your list settings go to
http://www.chinwag.com/flasher or email helpatchinwag [dot] com




flasher is generously supported by...
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Streaming Media WEST '99 Conference & Exhibition
"The Worlds largest Internet Audio & Video Event"
December 7 - 9, San Jose Convention Center, California

Reserve your space today at http://www.streamingmedia.com
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
To unsubscribe or change your list settings go to
http://www.chinwag.com/flasher or email helpatchinwag [dot] com


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

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