Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
#DEFINE / Arrays
Message
De
01/06/1999 21:13:19
 
 
À
01/06/1999 21:08:33
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Divers
Thread ID:
00223511
Message ID:
00225185
Vues:
14
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
Fil
Voir

Click here to load this message in the networking platform