Hello,
In one of my classes, "Me" returns N/A instead of the reference to the instance. It seems it does not like the type of some data.
This code reproduces the issue (it requires SimpleGameEngine):
For main:
For clsExpedition:
In one of my classes, "Me" returns N/A instead of the reference to the instance. It seems it does not like the type of some data.
This code reproduces the issue (it requires SimpleGameEngine):
For main:
B4X:
Sub AppStart (Form1 As Form, Args() As String)
MainForm = Form1
MainForm.Show
Dim Exped(4) As clsExpedition
Exped(0).Initialize
End Sub
For clsExpedition:
B4X:
Sub Class_Globals
Public Position As sgePoint2D
End Sub
'Initializes the object. You can add parameters to this method if needed.
Public Sub Initialize
Log("InitMe=" & Me)
End Sub