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

Turtle stopping prematurely?

Started by swagmeister19328, 01 July 2013 - 11:32 PM
swagmeister19328 #1
Posted 02 July 2013 - 01:32 AM
code:http://pastebin.com/ruxdjjAJ I've tried repeating statements, moving things to functions, printing ( obviously ) and i can't figure it out.
Lyqyd #2
Posted 02 July 2013 - 01:54 PM
Split into new topic.
skydude92 #3
Posted 02 July 2013 - 05:23 PM
i think the problem lies in 0, size, 1. remove the 1
skydude92 #4
Posted 02 July 2013 - 05:25 PM
also you don't need alot of the parenthesis around stuff. you have if (turtle.bla()) and it should just be if turtle.bla()
Lyqyd #5
Posted 02 July 2013 - 05:30 PM
Both of those are stylistic choices and wouldn't affect the code (unless the function call wrapped in parentheses was supposed to be returning multiple values).