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--