Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Invalid subscript reference
Message
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Environment versions
Visual FoxPro:
VFP 8 SP1
OS:
Windows XP
Database:
Visual FoxPro
Miscellaneous
Thread ID:
01173721
Message ID:
01173793
Views:
16
>>>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

I was thinking about something like this, but when I tried myDir + "*g*.*" it returned wrong file...
If it's not broken, fix it until it is.


My Blog
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform