B4X:
'This works fine
Dim l As List
l.Initialize
l.Add(1)
l.Add(2)
l.Add(3)
l.Add(4)
l.Add(5)
l.Add(6)
l.Add(7)
l.Add(8)
l.Add(9)
l.Add(0)
l.RemoveAt(0)
'This gives an error
Dim l As List
l.Initialize2(Array As String(1,2,3,4,5,6,7,8,9,0))
l.RemoveAt(0)
'This gives an error
Dim l As List
l = Array As String(1,2,3,4,5,6,7,8,9,0)
l.RemoveAt(0)
Dim m As Map
m.Initialize
m.Put("1", "1")
'This will return null
Log(m.Get(1))
'This will log fase
Log(m.Get("1") = 1)
'This wil log true
Log(m.Get("1") * 1 = 1)
Is this bug?