Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Passing an array as a reference
Message
De
17/04/2008 13:02:28
Cetin Basoz
Engineerica Inc.
Izmir, Turquie
 
 
À
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:
01311501
Vues:
20
>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)
>
You can't pass that way. You either need a method returning reference to array in your class or create another copy with acopy() and pass that one.
Check return in help for a sample.
Cetin
Çetin Basöz

The way to Go
Flutter - For mobile, web and desktop.
World's most advanced open source relational database.
.Net for foxheads - Blog (main)
FoxSharp - Blog (mirror)
Welcome to FoxyClasses

LinqPad - C#,VB,F#,SQL,eSQL ... scratchpad
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform