Android Question Current declaration does not match previous one

vecino

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



 

Attachments

  • queerrores.png
    10.4 KB · Views: 217
  • queerrores2.png
    14.2 KB · Views: 225

stevel05

Expert
Licensed User
Longtime 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
Longtime 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
Longtime 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
Cookies are required to use this site. You must accept them to continue using the site. Learn more…