>>I think you should seriously consider VFP9. (Look who's talking...)
>>
>
>It's not my decision to make. Anyway, looks like my program doesn't really work as it should for some reason. For w4e it returns w49... and it should not.
>
>>>You're too late to the game <g> Yes, I do if my mask is too short. I'm going to put some restrictions on the mask and also add try/catch functionality
try:
CREATE CURSOR crsFiles (FileNames M)
lcFile = SYS(2000,[mask here])
DO WHILE NOT EMPTY(lcFile)
IF NOT EMPTY(lcFile)
INSERT INTO crsFiles VALUES (m.lcFile)
ENDIF
lcFile = SYS(2000,[mask here],1)
ENDDO
not tested
Against Stupidity the Gods themselves Contend in Vain - Johann Christoph Friedrich von Schiller
The only thing normal about database guys is their tables.