Dim x As String
x = Null
If x = Null Then
Msgbox("x=null","")
Else
Msgbox("x<>null","")
End If
If x="" Then
Msgbox("weird","")
End If
If x="null" Then
Msgbox("o no!","")
End If
The expected behavior would be that x = null would evaluate to true since this is the way in B4A to check for null values.
However. x = "null" evaluates to true! I believe this is a bug.
Hi, i was looking long time for this type of function; now i tried it, but i get an error in the second row: 'wrong input format' (translated from german); any idea, whats wrong?
Hi,
I think the code is formatted wrong (remove all spaces in front of the lines, replace with tabs and try again). I had to play with formatting the code in order to display correctly on the web site.