Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Objects, Arrays & parameters
Message
 
 
To
22/06/2002 23:36:11
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00671447
Message ID:
00671449
Views:
16
This message has been marked as a message which has helped to the initial question of the thread.
You cannot pass property by reference. You can either pass whole object or copy property array to the local array, pass that array by reference to the function for processing and than copy back local array into property array.

>I have an array of objects each of which has two arrays as members. I want to be able to pass the member arrays to a function for processing.
>
>The problem is that my function does not receive the array, instead it receives only the first parameter.
>
>
>IF FilesExist(.aImportFiles, cImportPath) AND ;
>   FilesExist(.aInternalFiles, cDataPath)
>	
>      CleanFiles(.aInternalFiles, cDataPath, cOutPath)
>ENDIF
>
>
>
--sb--
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform