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
31/08/1998 13:33:28
 
 
À
31/08/1998 09:56:01
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00131504
Message ID:
00131583
Vues:
17
>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 ...
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform