Hi all!
I encountered that ExamineDirectory lists Folders and Files in alphabetical order. (tested on windows).
Is this trustable? Or should I do an own sorting to be sure?
Thanks for any hint.
ExamineDirectory and alphabetical sorting
Why not saving all names to a linked list and sort t with the sorting commands?
PB 4.30
Code: Select all
onErrorGoto(?Fred)Re: ExamineDirectory and alphabetical sorting
Nope! As far as I know this is subject to OS/filesystem default.Tranquil wrote:Hi all!
I encountered that ExamineDirectory lists Folders and Files in alphabetical order. (tested on windows).
Is this trustable? Or should I do an own sorting to be sure?
Thanks for any hint.
Which could be anything, alphabetical, creation date, physical order.
I still save the directory in a linkeslist. But I wanted to save some CPU Time for sorting it as I noticed that the results are already sorted by the OS. And so I wondered about it...AND51 wrote:Why not saving all names to a linked list and sort t with the sorting commands?
But to be sure I will do a sort myself. Thanks for all your hints!
Tranquil

