>Hi
>
>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
>
>
>
>
How do I pass the entire array (or preferably a reference to it) to my function???>
>
>Regards
>Geoff Scott
For quick processing (to avoid copying the property array to an "array proper", you can also pass the object itself as a property. However, the called function must know the name of the particular array property.
Hilmar.
Difference in opinions hath cost many millions of lives: for instance, whether flesh be bread, or bread be flesh; whether whistling be a vice or a virtue; whether it be better to kiss a post, or throw it into the fire... (from Gulliver's Travels)