Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Correlations among VFP and OOP languages
Message
General information
Forum:
Visual FoxPro
Category:
Object Oriented Programming
Miscellaneous
Thread ID:
01128092
Message ID:
01128206
Views:
22
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
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform