>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.
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