In my App, I compare two variables
When I compile in release mode it always works correctly. But sometimes after some times when I compile in DEBUG the IF THEN comparison always gives me false, even if looking at the logs the numerical values are the same.
Recompile in RELEASE and it works correctly, I go back to debugging and the problem returns.
Even if I clean the project I have no better results. If you restart your PC and iPhone then everything gets back in place.
What will be?
When I compile in release mode it always works correctly. But sometimes after some times when I compile in DEBUG the IF THEN comparison always gives me false, even if looking at the logs the numerical values are the same.
Recompile in RELEASE and it works correctly, I go back to debugging and the problem returns.
Even if I clean the project I have no better results. If you restart your PC and iPhone then everything gets back in place.
What will be?
B4X:
Dim I as Int = 1
Log(i)
Log(G.INTvalue)
If i=G.INTvalue then
' code
End if
Last edited: