vecino Well-Known Member Licensed User Longtime User Jul 11, 2017 #1 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 Jul 11, 2017 #2 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 Jul 12, 2017 #3 Try B4X: Dim iValor as int = 0 Dim aiRGB(), Icolor as int Is wrong B4X: Dim iValor = 0 as int Upvote 0
Erel B4X founder Staff member Licensed User Longtime User Jul 12, 2017 #4 As stevel05 wrote it looks like iColor is a global array. Both syntaxes are valid: B4X: Dim x As Int = 2 Dim x = 2 As Int Dim x = 3, Y = 4, Z = 5 As Int Upvote 0
As stevel05 wrote it looks like iColor is a global array. Both syntaxes are valid: B4X: Dim x As Int = 2 Dim x = 2 As Int Dim x = 3, Y = 4, Z = 5 As Int
vecino Well-Known Member Licensed User Longtime User Jul 12, 2017 #5 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
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.