[ComputerCraft] How do I call these things?

  • 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

RosenKranz1

New Member
Jul 29, 2019
7
0
0
turtle.digDown()
print()
term.clear()
sleep(10)


I know these are functions, but I want to distinguish them from the function that are created by in-game programming such as

function HelloWorld() {
print("HI!")
end
}

So, is there a word that represents these pre-programmed functions?
 

angelnc

New Member
Jul 29, 2019
232
0
0
When you use Notepad++ you can distinguish build in lua functions from others, but as far as I know you can't do this with CC functions.
 

kittle

New Member
Jul 29, 2019
229
0
0
I think the term you are looking for is "function call"

'print' is a function
print("hello") is a function call

Same with digDown, clear and sleep