Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Is this possible?
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00775497
Message ID:
00775506
Vues:
16
>I hope this is possible. If it isn't I think it would be a pretty nice feature.
>
>Here is what I would like to accomplish: I want to store the current on error command, then set on error to something else, then do my stuff and finally set the on error back to what it used to be. i.e.
>
>
>store on error to OldOnError
>on error TempOnErrorProcedure()
>*some code
>on error &OldOnError
>
>
>Please let me know if you think this is a crazy idea.
>
>Thanks,
>Einar

Einar,

it is possible, with one slight modification
local OldOnError
OldOnError = on('error')

on error TempOnErrorProcedure()
*some code
on error &OldOnError
Gregory
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform