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

Why does not this work?

Started by Wolfy_Bro, 22 May 2014 - 04:45 AM
Wolfy_Bro #1
Posted 22 May 2014 - 06:45 AM
Why on earth does this not work?

Code:
http://pastebin.com/fygiHUns

Setup:
http://imgur.com/tnM4S5f

Problem:
Even though that in the code its clearly mentioned that two functions should run, only one does, and it never ends.
I have tryed some debugging and found that if you put a print statement in the for loop inside function drawTurtles() and one outside the for loop, it prints the one inside the for loop 14 times, but the one outside never gets executed.
I wish for advice and help and I hav had this problem for almost two weeks now. Thank you!
Lyqyd #2
Posted 22 May 2014 - 06:59 AM
Moved to Ask a Pro.
EnderChasen #3
Posted 22 May 2014 - 08:31 PM
post the actual error message or does the code not do what yo say