B4J Question Color coding for color blinded people

EnriqueGonzalez

Well-Known Member
Licensed User
Longtime User
Do you mean sub parameters? Dimming a global variable in a sub is allowed and is useful in many cases. It will not create a local variable.
Could you describe in what cases? AFAIK dimming a global variable only removes the current object and links to a new one.

Am I wrong?
 
Upvote 0

Mashiane

Expert
Licensed User
Longtime User
Ok let me clarify further... the matter is rather the "color" of the variable in the IDE.

Lets look at variable x. Its a variant of some light blue "color"

1592212354006.png


Now if we create a sub with any variable, the variables will be some variant of white "color". For example a here, its some color variant of "white"

1592212483337.png


Now lets create a sub and define in it an "x" variable. Now because this variable is global already and in a way "conflicts" with an existing variable definition, the color is blueish like.

1592212649961.png


At times noticing such "already defined globally" variables is tricky due to the "color" and one wants to improve their coding. How can the "already defined variables" rather show with a "red color" for example by the IDE.

Thanks.
 
Upvote 0

Erel

B4X founder
Staff member
Licensed User
Longtime User
Yes, it is possible to change this color.

 
Upvote 0
Top