> From: Shawn Waldie [mailto:[EMAIL PROTECTED] 
> Thank you for your thoughts, gentlemen.
> This is what I wrote before the suggestions reached me:

> WRITELIST XL.NEW.LIST ON X.SAVEDLIST
> EXECUTE X.SORT.SAVEDLIST
> GETLIST X.SAVEDLIST TO 1 THEN
>   READLIST XL.SORTED.DATES FROM 1 ELSE
>     XL.SORTED.DATES = ""
>   END
>   CLEARSELECT 1
> END
> SWAP @AM WITH @VM IN XL.SORTED.DATES
> DELETELIST X.SAVEDLIST
> 
> But I'll change it if it's much less efficient.  What do ya think?

If you have a million dates it will be *more* efficient :-)

For just a few (i.e < 100's) the insertion sort will work much better.
-------
u2-users mailing list
[EMAIL PROTECTED]
To unsubscribe please visit http://listserver.u2ug.org/

Reply via email to