Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Bug: call by Reference hide Public and Private variables
Message
From
16/10/2004 14:11:27
 
 
To
16/10/2004 12:59:27
General information
Forum:
Visual FoxPro
Category:
Visual FoxPro Beta
Miscellaneous
Thread ID:
00951952
Message ID:
00951970
Views:
27
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
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform