Posted 30 September 2012 - 08:35 PM
Hi guys, I got the following error message, i can't find out the problem since 2 hours :)/>/> :
startup:4: attempt to cancatenate
string and nil
when i tipe in the shell "gps locate" it works
and here is my programm:
rednet.open("right")
x, y, z = gps.locate
print (x..", "..y..", "..z)
How can I save the gps coordinates in x, y and z and show me them by printing on the screen?
Thank you for helping
IceCrasher
startup:4: attempt to cancatenate
string and nil
when i tipe in the shell "gps locate" it works
and here is my programm:
rednet.open("right")
x, y, z = gps.locate
print (x..", "..y..", "..z)
How can I save the gps coordinates in x, y and z and show me them by printing on the screen?
Thank you for helping
IceCrasher