Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Procedure or Function? Warning - lStupidQuestionFlag=.T.
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Classes - VCX
Divers
Thread ID:
00360281
Message ID:
00360371
Vues:
14
>While VFP doesn't differentiate between the two, I'd say that when you're returning a value, call it a FUNCTION and if not call a PROCEDURE. This not only is consistent with other languages (where the two aren't interchangable), but, I believe, adds to the readability.

George,

I'll disagree with you here. I say use the same keyword all of the time, that way when you are searching for routine in a source file you simply search for PROCEDURE or FUNCTION and find them all no matter how you intended to use them.
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform