Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Passing an array as a reference
Message
 
 
To
17/04/2008 07:51:53
Jay Johengen
Altamahaw-Ossipee, North Carolina, United States
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Environment versions
Visual FoxPro:
VFP 9 SP2
Miscellaneous
Thread ID:
01311392
Message ID:
01311393
Views:
21
>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)
>
A property of an object (including arrays) cannot be passed by reference. You have to make a local copy of an array and pass it by reference.
--sb--
Previous
Reply
Map
View

Click here to load this message in the networking platform