Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
ASSIGN bug : was fixed in VFP8 ?
Message
From
24/09/2003 19:14:23
Gerry Schmitz
GHS Automation Inc.
Calgary, Alberta, Canada
 
 
To
24/09/2003 06:07:00
Dorin Vasilescu
ALL Trans Romania
Arad, Romania
General information
Forum:
Visual FoxPro
Category:
Other
Miscellaneous
Thread ID:
00831739
Message ID:
00832035
Views:
28
>Josef just checked, the bug still exist in VFP8
>
>As a workaround, I have a line in ASSIGN method code that check the new value against current value. If values are equal, then the ASSIGN execution is not needed, so ... RETURN. This comparison doesn't start a recursive call of the same _ASSIGN method (we are lucky).
>
>Another workaround is to "cache" values of properties with ASSIGN methods to a local variable and use this variable in right side of expressions.

I've done some more testing with ASSIGN, and it's pretty "dirty" ... occasionally firing multiple times.

I'm pulling my code altogether and replacing it with custom "GET/SET" methods.

Thanks again MS; you never fail to disappoint.

10 years later and I'm still spending more time debugging VFP than my own code. It's definitely time for a change.
Previous
Reply
Map
View

Click here to load this message in the networking platform