Information générale
Catégorie:
Codage, syntaxe et commandes
Versions des environnements
>>Because it is a new thing you have to learn. Why should I be forced to learn something new when an ON ERROR can be made to work just as well as it did back in the dBASE days?
>>(or at least that's how I interpret reaction I've seen from some folks)
>
>I agree that learning something new just because it's new is something we're forced to do much too often.
>
>Yes, ON ERROR can be made to work as it did in the the DBASE days. but you might want to look at again at TRY.. CATCH.
>It can do what what ON ERROR did and more and save you a lot of effort while doing it.
Just to clarify -- *I'm* not the one that resists learning TRY..CATCH. The only reason why I might not use TRY..CATCH at times is when dealing with code written in VFP6 (in those cases I often kludge something that sort'a works like a TRY..CATCH).
Précédent
Répondre
Voir le fil de ce thread
Voir le fil de ce thread à partir de ce message seulement
Voir tous les messages de ce thread
Voir tous les messages de ce thread à partir de ce message seulement