Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Proper way of coding a class
Message
De
11/12/2001 11:14:57
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Classes - VCX
Divers
Thread ID:
00592667
Message ID:
00592706
Vues:
19
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>
Len Speed
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform