Hello,
I have written a code in which I have to check if it is 0 the result of a query
when I use Debug mode the IF code is executed. When I compile in Release mode the if don't work.
I must write the code in this way:
I realized the error of doing print messages when running.
I have written a code in which I have to check if it is 0 the result of a query
B4X:
Dim cur As Map = data.Get(0)
if (cur.Get("cnt")==0) Then
.....
I must write the code in this way:
B4X:
Dim cur As Map = data.Get(0)
Dim cnt As Int = cur.Get("cnt")
If (cnt==0) Then
.....
I realized the error of doing print messages when running.