Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Pass by reference to a function
Message
 
 
À
10/12/2003 13:13:30
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00857755
Message ID:
00857762
Vues:
25
This message has been marked as the solution to the initial question of the thread.
Tracy,

The "@" character is used to indicate that parameter is passed by ref. The "&" starts macro substitution.
RetVal = MyPersProc(@Parm1, Parm2)
>What is wrong with:
>
>
>RetVal = MyPersProc(&Parm1, Parm2)
>
>
>Shouldn't parm1 be passed by reference and parm2 by value?
>I keep getting a Function name is missing ). error message when I run it...
--sb--
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform