Error I can't get rid off
Posted: Thu Mar 06, 2014 6:55 pm
Hi guys,
I'm having a bit of trouble... I'm trying to write an app where it finds the nearest store, based on latitude and longitude. I've checked out a few examples on how to use the built-in iphone gps, and here's the code I have on the card script:
on OpenCard
iphoneStartTrackingLocation
put iphoneCurrentLocation() into tLocation
end OpenCard
This creates an error stating: execution error at line 2 (Handler: can't find handler) near "iphoneStartTrackingLocation", char 1
...I'm at a loss here - what is wrong??
I have tried the same code in LCC 6.5.2, 6.6 (dp 1) and 6.6 (rc 1).
Any help would be greatly appreciated.
Jan
I'm having a bit of trouble... I'm trying to write an app where it finds the nearest store, based on latitude and longitude. I've checked out a few examples on how to use the built-in iphone gps, and here's the code I have on the card script:
on OpenCard
iphoneStartTrackingLocation
put iphoneCurrentLocation() into tLocation
end OpenCard
This creates an error stating: execution error at line 2 (Handler: can't find handler) near "iphoneStartTrackingLocation", char 1
...I'm at a loss here - what is wrong??
I have tried the same code in LCC 6.5.2, 6.6 (dp 1) and 6.6 (rc 1).
Any help would be greatly appreciated.
Jan