und wie mach ich dies? ich bin halt noch recht neu und habe noch kein tut dafür gefunden
Ich habe mir Nochmal die Arbeit gemacht, den Quelltext abzuschreiben, da ich es jetzt über Pastebin gemacht habe hab ich zwar geschaft das das programm auf meinem Turtle drauf ist, aber jedoch nicht das er das Ausführt. Da kommt dann ein Fehler : bios:338: [string "farm"]:4: ')' expected
Hier ist mein geschriebenes Programm
shell.run("clear")
print("Bitte samen in Slot 1 Legen\n")
print("Bitte Kohle in Slot 16 Legen\n")
write("Benzin reicht noch für ")
print(turtle.getfuellevel())
print("Bewegungen)\n\n")
write("soll ich Auftanken? : ")
print("Ja / Nein ")
Tanken = io.read()
if Tanken=="Ja" then
turtle.select(16)
turtle.refuel(10)
shell.run("clear")
else
end
Print ("")
Print("Wie lang ist das Weizenfeld?)
b1 = io.read()
print("Wie breit ist das Weizenfeld?)
a1 = io.read()
a=a1+0
b=b1+0
c=c1+0
while a > 0 do
while b > 0 do
turtle.digdown(1)
turtle.select(1)
turtle.placeDown()
b = b-1
turtle.forward()
end
a = a-1
b = b1+0
turtle.turnLeft()
turtle.forward()
turtle.turnLeft()
turtle.forward()
while b > 0 do
turtle.digDown()
turtle.Placedown()
b = b-1
turtle.forward()
end
a = a-1
b = v1+0
turtle.turnRight()
turtle.forward()
turtle.turnRight()
turtle.forward()
end
turtle.turnRight
while c > 0 do
turtle.forward()
c = c-1
end
turtle.turnLeft()
Danke schonmal
Edit:: Hier nochmal der link von Pastbin:

habe bei Pastbin noch paar sachen gefunden Nun heist der fehlercode : : bios:338: [string "farm"]:62: '=' expected
aber in Zeile 62 ist kein =