Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
ASSIGN bug : was fixed in VFP8 ?
Message
De
24/09/2003 19:14:23
Gerry Schmitz
GHS Automation Inc.
Calgary, Alberta, Canada
 
 
À
24/09/2003 06:07:00
Dorin Vasilescu
ALL Trans Romania
Arad, Roumanie
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Divers
Thread ID:
00831739
Message ID:
00832035
Vues:
29
>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
Fil
Voir

Click here to load this message in the networking platform