Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Struggling with arrays
Message
 
 
General information
Forum:
Visual FoxPro
Category:
Other
Miscellaneous
Thread ID:
00520246
Message ID:
00520259
Views:
14
Einar,

You can never pass an object property out by reference. This would violate the object encapsulation. For arrays, as you found, you have to acopy() them to a local array first, call the function and acopy() them back.

>1. Using a ParseToArray() function I need to send the array with reference. But I can't use @this.arr, but have to use a local variable @Arr. Is this the way it is?
df (was a 10 time MVP)

df FoxPro website
FoxPro Wiki site online, editable knowledgebase
Previous
Reply
Map
View

Click here to load this message in the networking platform