Barry,

I haven't tested this to prove it out with total certainty, but IIRC
everytime I've used the saving unique clause the results have come out
sorted in either left justified alphanumeric or right justified numeric
ascending order based on whether or not the dictionary/field specified after
the saving unique clause is set to left or right justified.

joe
----- Original Message ----- 
From: "Barry Brevik" <[EMAIL PROTECTED]>
To: "U2-users (E-mail)" <[email protected]>
Sent: Thursday, May 19, 2005 9:11 PM
Subject: [U2] [UV] Sorting UNIQUE


> Running UV 9.6.1.3 on Win2K.
>
> I was doing a SELECT FILENAME SAVING UNIQUE F45, again rueing how you can
> not use SSELECT or BY when SAVING UNIQUE...
>
> ...when I noticed that the resulting lists appear to be alphanumerically
> sorted in ascending order anyway!! This makes sense to me because I would
> think the logic that determines unique-ness would have to sort the data to
> make that determination.
>
> This happens to be exactly what I'm after. But, since I am putting this
code
> into programs, can I count on sorted results at all times? Is it
guaranteed?
> I can't seem to find this in documentation.
>
> TIA,
>
> Barry
> -------
> 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