Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
What's wrong with this code?
Message
 
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Versions des environnements
Visual FoxPro:
VFP 9 SP1
OS:
Windows XP
Database:
Visual FoxPro
Divers
Thread ID:
01121797
Message ID:
01121803
Vues:
19
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--
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform