Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Dynamic forecolor expresssion is invalid - URGENT
Message
From
27/01/2003 10:26:40
 
 
To
27/01/2003 06:50:06
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00745485
Message ID:
00745773
Views:
18
>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
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform