Probably very dumb problem here. I am trying to run a basic program on my turtle, like a turtle.forward() then end. I then save and exit, but when I type the name of the program I want to run, I get this error:

bios.lua:14: [string "*nameofmyprogram*"]:2: '<eof>' expected

What am I doing wrong ?

  • Are you sure you named the program correctly and typed it in correctly?
    – APCoding
    Mar 24 '16 at 16:50
  • What do you mean by naming it correctly ? I type edit programname.
    – Ruru
    Mar 24 '16 at 19:04

From what I understand you're trying to call the following:


end isn't for function calls, only declarations. Remove the end and it should work.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.