Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
How to use @ passing a form's array into a method?
Message
From
02/09/1998 03:39:08
 
 
To
31/08/1998 13:33:28
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00131504
Message ID:
00132227
Views:
15
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.
---------
Previous
Reply
Map
View

Click here to load this message in the networking platform