General information
Category:
Object Oriented Programming
>However, with PRG based classes the only way we can specify a parent class is to SET PROCEDURE TO ParentClass.PRG. Why can't we have syntax that allows the PRG based Class to know where to look for its parent? Example:
>Test102.PRG
>DEFINE CLASS Concrete AS Abstract FROM Test101.PRG
> PROCEDURE SomethingElse(x)
> ENDPROC
>ENDDEFINE
>What I'm proposing is that PRG based classes work exactly like VCX based ones. Each class definition needs to know where its parents are.
It's in VFP 7. You can do it this way.
Tamar
Previous
Next
Reply
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only