JTmartins Active Member Licensed User Longtime User Feb 19, 2013 #1 I have a Main activity and a module named utils. In module utils I created a sub called descodifica (means decode in english) in Main activity I call utils.descodifica While in debbug mode (I'havent tried release). The app gives an error as soon as it gets there. (close message) I couldn't see nothing wrong with the code inside the sub...so I renamed the sub to descodificador (means decoder in english) and it works... I tried 3 or 4 times...always the same. Not a big problem, but I just wonder why ? B4A 2.52
I have a Main activity and a module named utils. In module utils I created a sub called descodifica (means decode in english) in Main activity I call utils.descodifica While in debbug mode (I'havent tried release). The app gives an error as soon as it gets there. (close message) I couldn't see nothing wrong with the code inside the sub...so I renamed the sub to descodificador (means decoder in english) and it works... I tried 3 or 4 times...always the same. Not a big problem, but I just wonder why ? B4A 2.52
Erel B4X founder Staff member Licensed User Longtime User Feb 20, 2013 #2 You should check the logs and post the error message.
JTmartins Active Member Licensed User Longtime User Feb 20, 2013 #3 As I said..weird Today it works. I haven't changed anything on the code...just the sub name. Checked the all project again just to ensure I had nothing else with the same name..and there isn't. Maybe something with the emulator...I don't know. Thanks José
As I said..weird Today it works. I haven't changed anything on the code...just the sub name. Checked the all project again just to ensure I had nothing else with the same name..and there isn't. Maybe something with the emulator...I don't know. Thanks José
corwin42 Expert Licensed User Longtime User Feb 21, 2013 #4 In most cases such strange errors are naming conflicts. Is there another object/module/type etc. named descodifica?
In most cases such strange errors are naming conflicts. Is there another object/module/type etc. named descodifica?