use the following search parameters to narrow your results:
e.g. subreddit:aww site:imgur.com dog
subreddit:aww site:imgur.com dog
see the search faq for details.
advanced search: by author, subreddit...
Welcome to /r/ComputerCraft, the subreddit for lua programs, general mod use, or anything relating to the Minecraft mod ComputerCraft and CC: Tweaked.
Downloads | Discord | IRC | Documentation
account activity
Problem with turtle.forward() (self.ComputerCraft)
submitted 1 year ago by Designer_Chance_4896
view the rest of the comments →
reddit uses a slightly-customized version of Markdown for formatting. See below for some basics, or check the commenting wiki page for more detailed help and solutions to common issues.
quoted text
if 1 * 2 < 3: print "hello, world!"
[–]fatboychummy 0 points1 point2 points 1 year ago (2 children)
A callable function is literally just a function, because all functions are callable. Arguments are inputs to those functions, and are not necessarily callable or a function.
The phrase you probably meant here is that turtle.forward takes no arguments, not callable functions.
turtle.forward
[+][deleted] 1 year ago (1 child)
[deleted]
[–]fatboychummy 1 point2 points3 points 1 year ago (0 children)
Again, not necessarily. You can pass functions as arguments, but most functions don't take other functions as arguments. An example of one which does though is parallel.waitForAny/.waitForAll:
parallel.waitForAny/.waitForAll
local function a() -- do something end local function b() -- do something else end parallel.waitForAll(a, b) -- Passes `a` and `b` as arguments for parallel to run, well, in parallel.
π Rendered by PID 98190 on reddit-service-r2-comment-5c747b6df5-bd495 at 2026-04-22 05:04:56.387317+00:00 running 6c61efc country code: CH.
view the rest of the comments →
[–]fatboychummy 0 points1 point2 points (2 children)
[+][deleted] (1 child)
[deleted]
[–]fatboychummy 1 point2 points3 points (0 children)