Hi All,
I have been playing round with Klaus's "GPSExample" as a learning excercise. In trying something different I changed the Name part of this "Type" line:
to
I then changed all occurences of GPSLocation to GeoLocation in all modules.
When I run the code [Release] I get this error:
When I run the code [Debug Legacy] I get this:
If I change the code back all runs OK.
My understanding was that in defining a "Type" you assign a name, whether it is GPSLocation or GeoLocation should not matter.
Can someone please explain in simple terms what it is I am missing.
Regards Roger
I have been playing round with Klaus's "GPSExample" as a learning excercise. In trying something different I changed the Name part of this "Type" line:
B4X:
Type GPSLocation(Latitude As Double, Longitude As Double, Altitude As Double, Distance As Double, DistTot As Double, Time As Long, Speed As Float, Bearing As Float, Marker As Boolean)
B4X:
Type GeoLocation(Latitude As Double, Longitude As Double, Altitude As Double, Distance As Double, DistTot As Double, Time As Long, Speed As Float, Bearing As Float, Marker As Boolean)
When I run the code [Release] I get this error:
When I run the code [Debug Legacy] I get this:
If I change the code back all runs OK.
My understanding was that in defining a "Type" you assign a name, whether it is GPSLocation or GeoLocation should not matter.
Can someone please explain in simple terms what it is I am missing.
Regards Roger