Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Does vfp support polymorphism?
Message
De
23/06/2003 14:57:11
Gerry Schmitz
GHS Automation Inc.
Calgary, Alberta, Canada
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Programmation Orientée Object
Divers
Thread ID:
00802118
Message ID:
00803030
Vues:
37
>You do care what type it is. It must be a superclass of the specialized type (or implement an interface) otherwise you will get a runtime error in vfp (or a compile time error in a strongly typed language).

True. I assumed as programmers we wouldn't just blindly hand off our objects to any old routine :)
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform