I want a merge sort for data in BASIC, not lists.

For example ("]" is an @VM)

REC<1> = A]B]C]D]15
REC<2> = A]B]C]D]25
REC<3> = A]B]C]D]100
REC<4> = A]B]C]D]11

I want to sort by multi-value #5 .. The sorting isn't the issue .. It's when
DCOUNT(REC,@AM) gets large that the whole process gets extremely slow .. I
can't do something like MATPARSE, because I can't predict *HOW* big REC will
get ..

Anyway, I have a sneaking suspicion that it's already been done before, so
I'm trying to avoid re-inventing the wheel ..
-Chuck

-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] Behalf Of Rosenberg Ben
Sent: Friday, July 23, 2004 6:34 PM
To: '[EMAIL PROTECTED]'
Subject: RE: [U2] merge sort


EXECUTE "MERGE.LIST 0 UNION 0 TO 0"
will sort and de-dupe the current select list.

> -----Original Message-----
> From: Chuck Mongiovi
>
> Does anyone know where I can get code for a
> generic BASIC Merge SORT routine?
> -Chuck
> -------


The information contained in this e-mail message may be privileged
and confidential information and is intended only for the use of
the individual and/or entity identified in the alias address of
this message.  If the reader of this message is not the intended
recipient, or an employee or agent responsible to deliver it to the
intended recipient, you are hereby requested not to distribute or
copy this communication. If you have received this communication in
error, please notify us immediately by telephone or return e-mail and
delete the original message from your system.
-------
u2-users mailing list
[EMAIL PROTECTED]
To unsubscribe please visit http://listserver.u2ug.org/
-------
u2-users mailing list
[EMAIL PROTECTED]
To unsubscribe please visit http://listserver.u2ug.org/

Reply via email to