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

Bridge building turtle!

Started by navyseal421, 30 December 2012 - 08:20 AM
navyseal421 #1
Posted 30 December 2012 - 09:20 AM
Hello programmers< I have built a code to make a bridge anywhere. But, the code has a problem. at line 86-87, there should be a end there that closes the function at 35. this makes no since to me as there is already a "end" closing the function. Can someone figure this out? thanks.

here is the Pastebin: http://pastebin.com/CfBucinY
Budman17r #2
Posted 30 December 2012 - 11:11 AM
I believe at 35
  • function stairDown()
  • turtle.select
  • )<<<<>>>>>>>>no end here
Ikkalyzte #3
Posted 30 December 2012 - 02:46 PM
Budman's right, your first stairDown() doesn't have a closing "end". But the error message doesn't make any sense: There are only 82 lines in the program??