Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Objects, Arrays & parameters
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00671447
Message ID:
00671449
Vues:
15
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--
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform