Hi Erel,
I would imagine this one would be a huge task to implement but what are your general thoughts on classes for Basic4Android?
Something like this for instance:
I would imagine this one would be a huge task to implement but what are your general thoughts on classes for Basic4Android?
Something like this for instance:
B4X:
Class TestClass
Dim x,y As Int
'
Sub Clear()
x=0 : y=0
End Sub
'
Sub getTotal()
Return x+y
End Sub
'
End Class
Dim blah As TestClass
blah.x=14 : blah.y=5
Log(blah.Total)
blah.Clear
Log(blah.Total)