Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Problem with TRY...CATCH?
Message
De
16/07/2009 03:06:34
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Versions des environnements
Visual FoxPro:
VFP 9 SP1
OS:
Windows Server 2003
Divers
Thread ID:
01412651
Message ID:
01412675
Vues:
75
>Hi Al,
>
>great repro! In this case you can work around the problem by making a minor change to the TRY block:
>
>m.lnHandle = _Text
>_Text = Fcreate("nul")
>TRY
>	* Something that creates an error:
>	x = y
>
>CATCH
>	* We don't really need to do anything here
>
>ENDTRY
>_Text = m.lnHandle
>
Thanks, Christof - interesting workaround!

Since you're offering a workaround, does that mean the bug is still present in SP2?
Regards. Al

"Violence is the last refuge of the incompetent." -- Isaac Asimov
"Never let your sense of morals prevent you from doing what is right." -- Isaac Asimov

Neither a despot, nor a doormat, be

Every app wants to be a database app when it grows up
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform