Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Dynamic forecolor expresssion is invalid - URGENT
Message
De
27/01/2003 10:26:40
 
 
À
27/01/2003 06:50:06
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00745485
Message ID:
00745773
Vues:
20
>Hi,
>I have define lnRow as PUBLIC

John,

This is an example of why PUBLIC variables are dangerous. It is possible that the value of lnRow could be changed anywhere in your program, even by accident.

You should narrow the scope of lnRow as much as possible...perhaps make it a property of the form.

Perhaps lnRow is not being changed, but it is not worth the risk.
Steve Gibson
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform