This is a read-only snapshot of the ComputerCraft forums, taken in April 2020.
BananaTassium's profile picture

'eof expected' error when trying to run a program.

Started by BananaTassium, 02 July 2017 - 04:49 PM
BananaTassium #1
Posted 02 July 2017 - 06:49 PM
I made a test program with minimal knowledge of Lua to make a wither in a box. However, I'm getting an error that says bios.lua:14: [string "Cake"]:95: '<eof>' expected. I've googled where the error comes from and it says that it happens when you have too many or too few ends, but I can't find it. The code is here. https://pastebin.com/ladusl9r
KingofGamesYami #2
Posted 02 July 2017 - 08:49 PM
Remove the "end" at the bottom of the file - it isn't ending anything.
BananaTassium #3
Posted 02 July 2017 - 08:55 PM
Oh. Thanks!