In the following minimalist code line 7 the IDE gives an error of Array Expected but I don't understand why.
B4X:
Sub Class_Globals
Private SQL1 As SQL
End Sub
Private Sub B4XPage_Created (Root1 As B4XView)
Dim v As Int
v = GetAssetDBVersion()
Log("Version: " & v)
End Sub
Private Sub GetAssetDBVersion As Int
Return 42
End Sub