Cetin,
FWIW, Having just written a drive cleanup utility, I can matter of factly say that in VFP8, adir() on a folder with 20,000 files throws a trappable ErrorNo = 31 which can be used to redimension the array so that the process can at least work on the first around 13,000 files in the folder.
>Duel? If it were a duel hye already lost and just diverting to small details. My point was that arrays with more than 65000 elements might give "too many variables" error. I don't see myself in a crazy position to remember each and every specific error message.