As usual I'm trying to learn by using Erel's tutorials. When trying to follow along with my B4A program, B4A won't recognize the word Initialize. I thought we used Initialize on an earlier tutorial but this one is not working. Any ideas? It's the 11th tutorial 'Codes Modules and Classes". As you may know Erel uses B4J and I'm using B4A.
Thanks
[
Sub Process_Globals
End Sub
Sub Globals
End Sub
Sub Activity_Create(FirstTime As Boolean)
Dim c1, c2 As Class1
c1.Initialize
c1.value = 200
c2.Initialize
c2.value = 300
c1.LogValue
c2.LogValue
End Sub
Sub Activity_Resume
End Sub
Sub Activity_Pause (UserClosed As Boolean)
End Sub
]
Thanks
[
Sub Process_Globals
End Sub
Sub Globals
End Sub
Sub Activity_Create(FirstTime As Boolean)
Dim c1, c2 As Class1
c1.Initialize
c1.value = 200
c2.Initialize
c2.value = 300
c1.LogValue
c2.LogValue
End Sub
Sub Activity_Resume
End Sub
Sub Activity_Pause (UserClosed As Boolean)
End Sub
]