Search results

  • The FTB Forum is now read-only, and is here as an archive. To participate in our community discussions, please join our Discord! https://ftb.team/discord
  1. H

    Turtle/CC Lua Code not working

    Haha don't worry :) Appreciate the want to help anyway :D
  2. H

    Turtle/CC Lua Code not working

    That wouldn't work as 'a' is an argument passed to runTime.
  3. H

    Turtle/CC Lua Code not working

    Yup thanks a lot peppe :D I simply defined at the beginning of runTime(a) that a = a + 0 That seemed to assure the computer that it was in fact dealing with a number not a string. Thanks again man!
  4. H

    Turtle/CC Lua Code not working

    I'm afraid this still doesn't work :( As I still get this error message: Peppe - 'a' is definitely nil - what you are looking at there is the entire program so what has been defined there is everything.
  5. H

    Turtle/CC Lua Code not working

    Any help with this would be appreciated. Apparently there is an error with comparing strings and numbers and receiving strings in the " while r<a do" line but I'm not sure how to fix it. I am inexperienced in general with Lua. term.clear() term.setCursorPos(1,1) print("Length (1st and...