Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Passing Thisform.aMyArray by reference
Message
General information
Forum:
Visual FoxPro
Category:
Other
Miscellaneous
Thread ID:
00261669
Message ID:
00262218
Views:
19
Hi Paul,

I'm confused, your first post stated the arrays were already properties of the form.

>
>Yes, but I have five arrays that need to be passed to a method to manipulate the data. However, I don't want to hard code every array name into the method.
>
>Thanks!
>
>--Paul
>
>>PMFJI Are you trying to access the .aMyArray from a method in the same form? If so you can access it directly within the method with ThisForm.aMyArray.
>>
>>>>Paul,
>>>>
>>>>You either need to ACOPY() to a regular array or pass a reference to teh fomr itself to the routine and then manipulate the array property.
>>>
>>>Thanks Jim! I have five arrays on my form that I need to pass to a method. My best bet is to use ACOPY.
>>>
>>>Thanks again!
>>>
>>>--Paul
Roi
'MCP' Visual FoxPro

In Rome, there was a poem.
About a dog, who found two bone.
He lick the one, he lick the other.
He went pyscho, he drop dead!
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform