Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
CATCH TO this.Something
Message
De
30/06/2003 03:57:33
Matthias Will
BiCON Systemtechnik GmbH
Karlsruhe, Allemagne
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Divers
Thread ID:
00804645
Message ID:
00805191
Vues:
25
Hello Jozef,

thanks for your reply.

> 1) you used property instead of memory variable
why this is a fault ? If the method is called by code which doesn't TRY to CATCH TO, no error occurs... The docs say nothing about having to avoid properties ...

> 2) you used property that not exists
??? Maybe you mean the localVar ? According to docs, a non-existant var shouldn't be a problem. And it isn't ...

> 3) you named this property as "exception" - a VFP reserved word
> Try to use "catch to this.oException" and VFP behavior will be more understandable
Did _you_ try it with this.oException ? Same behaviour ! My original property-name is this.oLastException - there I found the error ...

Best regards

Matthias Will
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform