Posted 07 February 2016 - 10:44 PM
Hi.
I have a program that is made to turn a turtle around to different bordering inventories and craft parts for an item.
It is made up of turtle.turnLeft/right commands, turtle.drop()/dropUp commands, a few variables calculated from the program name stuff (program 5) by using the … variable, print() functions, and a read() command. there is also an if statement using == to see if the users input is a "y" for yes.
When I execute it (feed 5) it returns the words "For input string: '7.count'" immediately. the first line of code has a print statement "print("begin")" that never prints it's stuff, Which makes me think it's an error.
The words are odd because I happen to have a variable named count, and several "7"'s in my code. However, I think It's a coincidence because when I replace the count variable and the 7's with different names and numbers, the 7.count stays 7.count.
Does anyone know what's happening here?
Hermanoid
PS does anybody know how to get code from turtles to this forum? copy/pasting is impossible.
I have a program that is made to turn a turtle around to different bordering inventories and craft parts for an item.
It is made up of turtle.turnLeft/right commands, turtle.drop()/dropUp commands, a few variables calculated from the program name stuff (program 5) by using the … variable, print() functions, and a read() command. there is also an if statement using == to see if the users input is a "y" for yes.
When I execute it (feed 5) it returns the words "For input string: '7.count'" immediately. the first line of code has a print statement "print("begin")" that never prints it's stuff, Which makes me think it's an error.
The words are odd because I happen to have a variable named count, and several "7"'s in my code. However, I think It's a coincidence because when I replace the count variable and the 7's with different names and numbers, the 7.count stays 7.count.
Does anyone know what's happening here?
Hermanoid
PS does anybody know how to get code from turtles to this forum? copy/pasting is impossible.