Yes, but this is something different from proving that there is a bug/problem when passing a public array by ref (which, imho, works ok and as expected).
This shows that the variable passed by ref is hidden inside the function, regardless of the way it was initially declared. As I said, this is not related to arrays. This is true for any variable passed by ref.
Vlad
>Paul, here's a piece of code that demoinstrates the scoping issue. I am not saying that this is a bug. This is precisely the expected behavior given the way that VFP handles variables and names internally:
Précédent
Répondre
Voir le fil de ce thread
Voir le fil de ce thread à partir de ce message seulement
Voir tous les messages de ce thread
Voir tous les messages de ce thread à partir de ce message seulement