This is very strange. It doesn't matter where I declare it , it always shows up underlined in green as an unused variable.
Dim StatusIn as Boolean
I put it in globals it shows as being unused. I put it in the beginning of the
Activity_Create sub it shows up as being unused.
The variable is used in Activity_Create. I even changed the variable to a different name a few times and still the same thing.
If I remove the declaration of this variable then the variable (StatusIn) is red.
I noticed this trying to debug other problems I having.
I have one other Boolean variable and it is fine. It is not underlined in green.
I don't want to post all my code because it is going to be a product that will be sold on google play.
Any ideas?
Bryan