Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Question on ADIR() and ASORT()
Message
General information
Forum:
Visual FoxPro
Category:
Other
Environment versions
Visual FoxPro:
VFP 9 SP1
Miscellaneous
Thread ID:
01362370
Message ID:
01363454
Views:
21
I run the code on the volume with FAT file system and files weren't ordered by name. On NTFS they're ordered

>I try now this sample code
>
>#DEFINE CRLF CHR(13)+CHR(10)
>lnFiles = ADIR( laArray, [c:\windows\*.*])
>lcFile = []
>FOR ijk = 1 TO lnFiles
>    m.lcFile = m.lcFile + laArray[m.ijk,1] + CRLF
>NEXT
>STRTOFILE(m.lcFile,[c:\test.txt])
>MODIFY FILE c:\test.txt NOEDIT
>
>
>and I'm surprised.
>Seem as all is ordered by file name
--sb--
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform