Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Bug: call by Reference hide Public and Private variables
Message
De
16/10/2004 14:11:27
 
 
À
16/10/2004 12:59:27
Information générale
Forum:
Visual FoxPro
Catégorie:
Visual FoxPro Beta
Divers
Thread ID:
00951952
Message ID:
00951970
Vues:
28
Hi Fabio,

this one is definitivelky not a bug. The behaviour is known since FPW,
and I know I read about it in the docs then.
I am fairly sure that the behaviour is still documented.
A quirk of the language, but since it is documented, it shouldn't be called
a bug. And I've come across quite a few apps which would break if this was changed:
Consider programmers writing "half-generic" functions against global arrays
and then exchanging help array's into the same name via calls by reference.

Ugly as hell, but "running code".

Regarding the previous one, call by ref with a table field:
this is also the behaviour since very old days.

Annoying, yes, but you could use it to find out if a
table field exists ;-)

regards

thomas
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform