Android Question Current declaration does not match previous one

vecino

Well-Known Member
Licensed User
Hi, compiling with B4A v7.01 shows the error.
How can I solve that?

48fb4495bfaa1a9566c2091beec47125o.png


e5f84fb53020189332e57e29569a94e8o.png
 

Attachments

  • queerrores.png
    queerrores.png
    10.4 KB · Views: 103
  • queerrores2.png
    queerrores2.png
    14.2 KB · Views: 117

stevel05

Expert
Licensed User
It looks like iColor is also defined as a Global variable. Is the global variable an array?
 
Upvote 0

Star-Dust

Expert
Licensed User
Try
B4X:
Dim iValor as int = 0
Dim aiRGB(), Icolor as int

Is wrong
B4X:
Dim iValor = 0 as int
 
Upvote 0

vecino

Well-Known Member
Licensed User
Thanks friends.
That was the problem.
It has happened to me to make a "copy-paste".
I was putting together several modules in one.
Again, thank you very much.
 
Upvote 0
Top