Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Using if in a unique line
Message
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
01219389
Message ID:
01219399
Vues:
9
>naomi
>
>I tried to execute a prg instead of a form
>
>ON ERROR iif(error()=2005, do see_erro,"")
>
>a message missing comma, appears
ON ERROR iif(error()=2005, see_erro(),"")
But as others said, just use
lcOldOnError = on('error')
on error do See_erro
...

on error &lcOldOnError
If it's not broken, fix it until it is.


My Blog
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform