Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Correlations among VFP and OOP languages
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Programmation Orientée Object
Divers
Thread ID:
01128092
Message ID:
01128206
Vues:
27
Ricardo,

VFP doesn't really have a way of implementing interfaces like Java.

You can define abstract classes but there is no language enforcement that the methods remain empty.
define class GraphicObject as custom
   x = 0
   y = 0

function moveTo( newX, newY )
endfunc

function draw()
endfunc

enddefine
>How can I implement in VFP a interface and a abstract class ?
>I need to code in VFP something like that in JAVA (o C#):
df (was a 10 time MVP)

df FoxPro website
FoxPro Wiki site online, editable knowledgebase
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform