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:
01311486
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)
>
If array is a property of the form you can not pass it without copying first into another array with acopy. You may want to pass the whole form reference to your other function/form though.
If it's not broken, fix it until it is.


My Blog
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform