Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
How to use @ passing a form's array into a method?
Message
 
To
31/08/1998 09:56:01
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00131504
Message ID:
00131507
Views:
20
>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?
>Thanks in advance

Just do

=ACOPY(thisform.myarray,latemp)
=MyPrg(@latemp)
=ACOPY(latemp,thisform.myarray)

(: Sorry can't remember order of Target and Source array name

Bye
Jayesh
- Jayesh
Previous
Reply
Map
View

Click here to load this message in the networking platform