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

Help me please

Started by Nexus_Nimorodino, 11 October 2016 - 12:34 PM
Nexus_Nimorodino #1
Posted 11 October 2016 - 02:34 PM
IDK where to put this post so ill put it here, can you please help me with this code because i got this error

bios:14: [string ".temp"]:17: '<eof>' expected

this is the code

http://pastebin.com/BqQY13zw

CC 1.7
Lyqyd #2
Posted 11 October 2016 - 03:31 PM
Moved to Ask a Pro.
ReBraLaCC #3
Posted 11 October 2016 - 03:36 PM
you did
  drawMenu1()
instead of what it should be like
  drawMenu1 = function()
Edited on 11 October 2016 - 01:37 PM
HaddockDev #4
Posted 14 October 2016 - 12:02 PM
You forgot a function tag before the
drawMenu1
function.
You can't define a function like this:

  someFunctionHere()
	--some code
end
Instead, define it like this:

function someFunctionHere()
	--some code here
end
Some people define it like this too:

someFunctionHere = function()
	--some code here
end
Edited on 14 October 2016 - 10:03 AM