Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Function Parameters Syntax Question
Message
De
07/05/2000 23:56:43
 
 
À
Tous
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Titre:
Function Parameters Syntax Question
Divers
Thread ID:
00367141
Message ID:
00367141
Vues:
46
Hey,

I've got three questions for y'all about these two functionally identical FUNCTION definitions:
<b>Style A:</b>
DEFINE CLASS MyClass AS someclass
<b>FUNCTION MyFunc(cParam1, nParam2)</b>
ENDFUNC
ENDDEFINE

<b>Style B:</b>
DEFINE CLASS MyClass AS someclass
<b>FUNCTION MyFunc
LPARAMETERS cParam1, nParam2</b>
ENDFUNC
ENDDEFINE
1) In which Fox version did Style A become possible, and where is it documented?

2) How many of you regularly use Style A instead of the more common Style B?

3) Are there any advantages or disadvantages to using Style A? Is it more consistent with the VB and VC world?
David Stevenson, MCSD, 2-time VFP MVP / St. Petersburg, FL USA / david@topstrategies.com
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform