Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Proper way of coding a class
Message
 
À
11/12/2001 11:14:57
Information générale
Forum:
Visual FoxPro
Catégorie:
Classes - VCX
Divers
Thread ID:
00592667
Message ID:
00592711
Vues:
22
Hehe. When I was typing the reply I was thinking, "hmmm, I've never used the :: before, I wonder why"? Guess my brain got stuck. Thanks.

>Following on from that, to avoid the need to use the scope operator
>
>
>Define Test as custom
>  function showString(aString)
>    ? aString
>  endfunc
>Enddefine
>
>Define Test1 as Test
>  function showString(aString)
>    <b>dodefault</b>(this.fixFunc(aString))
>  endfunc
>  function fixFunc(aString)
>    <b>return 'String: ' + aString</b>
>  endfunc
>Enddefine
>
><b>Define Test2 as Test1
>Enddefine</b>
>
Roi
'MCP' Visual FoxPro

In Rome, there was a poem.
About a dog, who found two bone.
He lick the one, he lick the other.
He went pyscho, he drop dead!
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform