Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Help me hide my exe know how?
Message
De
13/10/2000 11:01:12
 
 
À
13/10/2000 10:43:32
Cindy Winegarden
Duke University Medical Center
Durham, Caroline du Nord, États-Unis
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Divers
Thread ID:
00428489
Message ID:
00429093
Vues:
18
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
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform