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

Error in my code

Started by Tieran02, 26 June 2013 - 02:03 PM
Tieran02 #1
Posted 26 June 2013 - 04:03 PM
Title: Error in my code

Question: ive been trying to fix my code for hours now and i dont know what is wrong with it i get this eroor bios:228: [string "Chop"]:2: '(' and this is my code here http://pastebin.com/MV1S8p2W pls help me
Cranium #2
Posted 26 June 2013 - 05:55 PM
Split to new topic.
Bomb Bloke #3
Posted 26 June 2013 - 07:32 PM
You need brackets after the function names. Eg, make line 1:

function FindTree()

… and so on.
M4sh3dP0t4t03 #4
Posted 27 June 2013 - 06:57 AM
And you need to put "end" at line 18, 29 and at the end to close the while and if statements.
Engineer #5
Posted 27 June 2013 - 07:00 AM
http://pastebin.com/JV9g7FwR