This is a read-only snapshot of the ComputerCraft forums, taken in April 2020.
Blocky_Balboa's profile picture

Needing a list of All lua commands

Started by Blocky_Balboa, 09 August 2012 - 07:33 AM
Blocky_Balboa #1
Posted 09 August 2012 - 09:33 AM
Hi. Im a newb coder, and eery time i have a look at some new code somebody's made, theres always a bunch of code which i have no idea what it means.
If someone could post a list of [ALL] the lua commands, or knows a link that'd be awesome:).

——
And By Commands, i mean all the code stuff.
eg: os.shutdown() / term.clear() / rs.getInput() ect.

Thanks!

And if they had a description with them that'd be even better:).
Edited on 09 August 2012 - 07:34 AM
Luanub #2
Posted 09 August 2012 - 10:02 AM
The Lua Reference Manual is a good resource http://www.lua.org/manual/5.1/manual.html

Also for a more CC specific list check out the API's section of the wiki http://computercraft...e=Category:APIs
Pharap #3
Posted 09 August 2012 - 10:25 AM
Hi. Im a newb coder, and eery time i have a look at some new code somebody's made, theres always a bunch of code which i have no idea what it means.
If someone could post a list of [ALL] the lua commands, or knows a link that'd be awesome:).

——
And By Commands, i mean all the code stuff.
eg: os.shutdown() / term.clear() / rs.getInput() ect.

Thanks!

And if they had a description with them that'd be even better:).

Just so you're clear, there are native lua commands and non native lua commands.

The native lua commands can be found here: http://www.lua.org/manual/5.1/manual.html
They are a part of lua and anything using lua has them.

The non-native lua commands are built into the ComputerCraftAPIs and can be found here: http://computercraft.info/wiki/index.php?title=Category:APIs
There are many APIs with many different functions.

If you are new to programming, I suggest learning the basic concepts of programming before jumping right in to syntax. When it comes down to it, programming is all about knowing what you have to do, thinking about it step by step then instructing the computer to do what you want it to.
Blocky_Balboa #4
Posted 09 August 2012 - 10:39 AM
Hi. Im a newb coder, and eery time i have a look at some new code somebody's made, theres always a bunch of code which i have no idea what it means.
If someone could post a list of [ALL] the lua commands, or knows a link that'd be awesome:).

——
And By Commands, i mean all the code stuff.
eg: os.shutdown() / term.clear() / rs.getInput() ect.

Thanks!

And if they had a description with them that'd be even better:).

Just so you're clear, there are native lua commands and non native lua commands.

The native lua commands can be found here: http://www.lua.org/m...5.1/manual.html
They are a part of lua and anything using lua has them.

The non-native lua commands are built into the ComputerCraftAPIs and can be found here: http://computercraft...e=Category:APIs
There are many APIs with many different functions.

If you are new to programming, I suggest learning the basic concepts of programming before jumping right in to syntax. When it comes down to it, programming is all about knowing what you have to do, thinking about it step by step then instructing the computer to do what you want it to.
Thanks. That does clear up a few further questions I had:)
Blocky_Balboa #5
Posted 09 August 2012 - 10:40 AM
The Lua Reference Manual is a good resource http://www.lua.org/m...5.1/manual.html

Also for a more CC specific list check out the API's section of the wiki http://computercraft...e=Category:APIs
Awesome. Thanks
Pharap #6
Posted 09 August 2012 - 10:56 AM
Just so you're clear, there are native lua commands and non native lua commands.

The native lua commands can be found here: http://www.lua.org/m...5.1/manual.html
They are a part of lua and anything using lua has them.

The non-native lua commands are built into the ComputerCraftAPIs and can be found here: http://computercraft...e=Category:APIs
There are many APIs with many different functions.

If you are new to programming, I suggest learning the basic concepts of programming before jumping right in to syntax. When it comes down to it, programming is all about knowing what you have to do, thinking about it step by step then instructing the computer to do what you want it to.
Thanks. That does clear up a few further questions I had:)

I like to be thorough when helping people with their programming : D.

Just ask if you need any help, the lua thing can be a bit hard to interpret (even for me, and I have experience with 4 programming languages).