Hi all,

I would like your opinion about the concept of 'partial class'.  For example:

//---> First.prg
Class MyClass
    DATA data1
    METHOD MyMethod()
EndClass

METHOD MyMethod() CLASS MyClass
Return Self

//---> Second.Prg
PartialClass MyClass
    DATA data2
    METHOD MyMethod()
EndClass

METHOD MyMethod() CLASS MyClass
RETURN {::Data1, ::Data2}


In this hyphotetic example a unic class is divided into two diferents prg and 
the result is the sum of the two classes.

Could it be implemented in Harbour??
What is your opinion about that??

Thanks and regards,
José Luis Capel
_______________________________________________
Harbour mailing list (attachment size limit: 40KB)
Harbour@harbour-project.org
http://lists.harbour-project.org/mailman/listinfo/harbour

Reply via email to