I had this line in the Main Activity's Process_Globals and in a Service's Process_Globals. It caused a weird/random scoping error that took a while to figure out that I had accidently duplicated this line:
I'm thinking it would be helpful if the compiler could report a warning (or display a red wavy underline for each instance during edit mode) if it sees duplicate declared global variables.
NOTE: I am using B4A v9.01
B4X:
Sub Process_Globals
Dim exo As SimpleExoPlayerView
End Sub
I'm thinking it would be helpful if the compiler could report a warning (or display a red wavy underline for each instance during edit mode) if it sees duplicate declared global variables.
NOTE: I am using B4A v9.01
Last edited: