Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
What's wrong with this code?
Message
 
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Environment versions
Visual FoxPro:
VFP 9 SP1
OS:
Windows XP
Database:
Visual FoxPro
Miscellaneous
Thread ID:
01121797
Message ID:
01121803
Views:
12
You can shorten your code to
...
    try
    	delete file (m.lcTempDir + laFiles[m.lnI,1])
    catch 
    endtry
...
>>Remove 'loop' from 'catch'. Also I don't see where m.lcError is assigned a string value.
>
>Originally I just had try endtry without catch and it gave me the same error. So I added all these lines. Removing loop solved the problem. I commented out logging and reporting error, since I don't really need to see the error.
--sb--
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform