Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
I never really thought much of property assign methods..
Message
De
14/07/1999 13:11:40
 
 
À
14/07/1999 11:24:39
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Divers
Thread ID:
00241039
Message ID:
00241359
Vues:
20
Hi Mike.

>Wouldn't returning addbs(path) on an access rather than storing addbs(path) in assign be safer and 'more correct'.

Possibly, but it would also be more work (for VFP, not you [s]), because the Access method fires every time anyone (even the class itself) asks for the property. Doing it at Assign time means the code only executes once.

Doug
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform