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:
00360310
Vues:
11
>>
>>Hiya Craig,
>>
>>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.
>
>I agree with you here. However, VFP doesn't care.

Yep. I personally believe, however, that that fact that it doesn't is really a negative rather than positive. It can lead to being sloppy, which is not a good thing.
George

Ubi caritas et amor, deus ibi est
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform