Bug? Int<>Long?

Status
Not open for further replies.

Vikjh

Member
Licensed User
I'm try this code:

B4X:
    Dim Longkey As Long =10
    Dim IntKey As Int =10
    Dim m As Map=CreateMap(10:0)

    If m.ContainsKey(Longkey) Then LogDebug("Longkey")
    If m.ContainsKey(IntKey) Then LogDebug("IntKey")

And result only "IntKey"
 
Status
Not open for further replies.
Top