>thanks sergey - this still gives earliest file (1990) - is there any way of finding out what is on the bottom of that sort list?
>k
>
>ltZeroTime = CTOT("00:00:00")
>= ADIR(laFieList, 'c:\db\prg\*.prg')
>FOR i= 1 TO ALEN(laFieList,1)
> laFieList[i,5] = DTOT(laFieList[i,3]) + (CTOT(laFieList[i,4]) - ltZeroTime)
>ENDFOR
>= ASORT(laFieList, 5)
>? lafielist
Karen,
Sorts elements in an array in ascending or descending order.
ASORT(ArrayName [, nStartElement [, nNumberSorted [,
nSortOrder [, nFlags]]])
Add sort order to this command.
= ASORT(laFieList, 5,0,2)
If it's not broken, fix it until it is.
My Blog