If tmp_m.Get("type") = 1 Or tmp_m.Get("type") = 2 Or tmp_m.Get("type") = 3 Or tmp_m.Get("type") = 4 Or tmp_m.Get("type") = 5 Or tmp_m.Get("type") = 6 Or tmp_m.Get("type") = 7 Or tmp_m.Get("type") = 8 Then
Log("test")
End If
In theory it might be possible to do something like this. Doesn't work though, IndexOf isn't supported by arrays. Perhaps there's an alternative way of writing this that works?
B4X:
If (Array As String(1, 2, 3, 6, 7, 8, 20)).IndexOf(tmp_m.Get("type")) > -1 Then
' Code goes here
End If