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.
Cookies are required to use this site. You must accept them to continue using the site. Learn more…