I'm working on a little program where I need this:
while turtle.compare() = true do
If I now start the program, I get this error: bios:338:[string: fell]:2: 'do' expected
Here's the full code:
local function FellDown() while turtle.select(2) turtle.compare() = true do turtle.dig() end end
The same thing happens with "if ... =true then"
(Except the error is not with 'then' expected)
Does somebody know why this happens and how to fix it?











