Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Function vs Procedure
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00671285
Message ID:
00671327
Vues:
12
>Hi
>
>What is the difference between a Function and a Procedure???
>
>Regards
>Geoff Scott

Spelling.

There is no difference. Parameters are passed to either the same way depending on how you call them. DO XXX WITH ... passes by reference and XXX() passes by value by default.

You can force parameters to be passed any way you like. Parens around a parameter makes the pass be by value and @ before the param makes the pass by reference.
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform