Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
How to use @ passing a form's array into a method?
Message
De
02/09/1998 03:39:08
 
 
À
31/08/1998 13:33:28
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00131504
Message ID:
00132227
Vues:
14
That's i was afraid of. I must use 'acopy' and pass memory array or pass the entire form as an object.
Thanks to all of you (federico, Cetin & Jayesh). Nice to meet you again here.



>>Is it possible to pass a form property dimensioned as an array into a external routine?
>>=myprg(@thisform.myarray)
>>If i use @ the routine gives me an error 'thisform is not an alias'.
>>Must i use a memory variable?
>
>You cannot pass a property array directly; you must ACOPY() it to a memory array, call the routine, and then ACOPY() the memory array into your property array.
>
>Yes, you SHOULD be able to pass it directly, but ...
Saludos,
A.G.P.
---------
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform