Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
BUG: scope resolution and HIDDEN properties
Message
De
16/02/2005 20:52:32
Hilmar Zonneveld
Independent Consultant
Cochabamba, Bolivie
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Programmation Orientée Object
Versions des environnements
Visual FoxPro:
VFP 9
Divers
Thread ID:
00987452
Message ID:
00987739
Vues:
54
>Hilmar,
>
>I think it is worth noting that Fabio is not using the hidden property directly, as I understand your message, but calling a public method of the class that should return it's own hidden property.

You are right. I hadn't analyzed the code too carefully.

My apologies to Fabio - I should have known that he knows the fundamentals of OOP.

Now it does indeed look like a bug to me. The method in the parent class should see the hidden property.
Difference in opinions hath cost many millions of lives: for instance, whether flesh be bread, or bread be flesh; whether whistling be a vice or a virtue; whether it be better to kiss a post, or throw it into the fire... (from Gulliver's Travels)
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform