Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Help me hide my exe know how?
Message
From
13/10/2000 11:01:12
 
 
To
13/10/2000 10:43:32
Cindy Winegarden
Duke University Medical Center
Durham, North Carolina, United States
General information
Forum:
Visual FoxPro
Category:
Other
Miscellaneous
Thread ID:
00428489
Message ID:
00429093
Views:
19
Hi Cindy,

I think it's more like:
DEFINE CLASS JimB AS CUSTOM
    AlwaysLearning = .T.
    *!* More properties here
    <b>HIDDEN</b> FUNCTION GetNewKnowledge
        *!* Secret code here
    ENDFUNC
ENDDEFINE
:-)


>But we can ALL easily inherit Jim's qualities, though we may never catch up to his knowledge because he has a head start.
>DEFINE CLASS JimB AS CUSTOM
>    AlwaysLearning = .T.
>    *!* More properties here
>    FUNCTION GetNewKnowledge
>        *!* Secret code here
>    ENDFUNC
>ENDDEFINE

>*!* Note how VFP's full inheritance plays here
>oCindy = CREATEOBJECT("JimB")
>oCindy.GetNewKnowledge()
>oDoug  = CREATEOBJECT("JimB")
>oDoug.GetNewKnowledge()
------------------------------------------------
John Koziol, ex-MVP, ex-MS, ex-FoxTeam. Just call me "X"
"When the going gets weird, the weird turn pro" - Hunter Thompson (Gonzo) RIP 2/19/05
Previous
Reply
Map
View

Click here to load this message in the networking platform