I have a class with the following code in the Initialize method:
Sometimes I call myClass.Initialize(Null) and sometimes I call myCall.Initialize(dbCrsr) and pass in a cursor.
However I've found that even if crsr = "Not initialized" in the debugger, the code after the <> Null check still executes?
B4X:
Public Sub Initialize(crsr As Cursor)
If crsr <> Null Then
:
Sometimes I call myClass.Initialize(Null) and sometimes I call myCall.Initialize(dbCrsr) and pass in a cursor.
However I've found that even if crsr = "Not initialized" in the debugger, the code after the <> Null check still executes?