Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Passing an array as a reference
Message
 
 
À
17/04/2008 07:51:53
Jay Johengen
Altamahaw-Ossipee, Caroline du Nord, États-Unis
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Versions des environnements
Visual FoxPro:
VFP 9 SP2
Divers
Thread ID:
01311392
Message ID:
01311393
Vues:
22
>I get a syntax error on both of these. The array is a property of the form.
>
>
>	.oTrans.SetFormUDF(THIS, @laFormPoints)
>	.oTrans.SetFormUDF(THIS, @.laFormPoints)
>
A property of an object (including arrays) cannot be passed by reference. You have to make a local copy of an array and pass it by reference.
--sb--
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform