Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
What means parameters
Message
De
30/04/2007 09:39:30
 
 
À
29/04/2007 11:42:13
Hilmar Zonneveld
Independent Consultant
Cochabamba, Bolivie
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
01220881
Message ID:
01221079
Vues:
14
>>Yes, in VFP it doesn't really matter, though in general function should return a value and the procedure usually should not.
>
>That's a quite arbitrary distinction. IMO. I like the "C" approach better. (All functions/procedures are called "function" - not sure about the exact keyword -, the return value is declared, if no value is returned, the "return value" is declared as "void".)

Actually, not arbitrary. In most languages, that is the main distinction between functions and procedures. VFP is unusual in that it's the call, not the definition, that determines whether you're using a function or a procedure.

Tamar
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform