Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Catch to oError
Message
 
À
06/11/2007 21:29:15
Jay Johengen
Altamahaw-Ossipee, Caroline du Nord, États-Unis
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Titre:
Versions des environnements
Visual FoxPro:
VFP 8 SP1
Divers
Thread ID:
01267180
Message ID:
01267185
Vues:
18
Jay,

Although I do not see a problem doing it, I do not see why you need to do it, a local variable should do it just fine
local loError

		CATCH TO loError

			THIS.WriteLogFile('Exception', loError)
		
		ENDTRY
>Can I do the following and then reference the properties of the THIS.oError object in the WriteLogFile method?
>
>
>		CATCH TO oError
>
>			ADDPROPERTY(THIS,'oError')
>			THIS.oError = oError
>			THIS.WriteLogFile('Exception', THIS.oError)
>		
>		ENDTRY
>
"The five senses obstruct or deform the apprehension of reality."
Jorge L. Borges?

"Premature optimization is the root of all evil in programming."
Donald Knuth, repeating C. A. R. Hoare

"To die for a religion is easier than to live it absolutely"
Jorge L. Borges
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform