bug (red variable not going away)

wheretheidivides

Active Member
Licensed User
Longtime User
Sometimes when you change things, variables stay red. You have to modify that line of code to make the red go away. It has to do with modifying a variable in 1 location that the other locations don't update. or sometimes when you change a viable (say in a dim statement), in the middle of a line, it changes red and stays red until you modify it.

I'm sure this has been mention as it's a common bug.
=============================================================

I wrote this line of code without a dim
it turned red
I added the dim
it stayed red
I had to add a space at the end (modify it) before it would not be red.
 
Last edited:

Roger Garstang

Well-Known Member
Licensed User
Longtime User
+1 for me too. Not life threatening or anything, but it was odd and seems to have started doing it recently. In one case I duplicated a bunch of Activities that used similar code and copied/pasted the entire code to 5+ other Activities. Every one of them had UserClosed in the line "Sub Activity_Pause (UserClosed As Boolean)" highlighted in Red. I had done the same thing before without it turning Red.
 
Top