9 posts
Location
if internet = true then location = cave
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
1111 posts
Location
Portland OR
Posted 09 August 2012 - 10:02 AM
The Lua Reference Manual is a good resource
http://www.lua.org/manual/5.1/manual.htmlAlso for a more CC specific list check out the API's section of the wiki
http://computercraft...e=Category:APIs
839 posts
Location
England
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.htmlThey 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:APIsThere 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.
9 posts
Location
if internet = true then location = cave
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.htmlThey 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:APIsThere 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:)
9 posts
Location
if internet = true then location = cave
Posted 09 August 2012 - 10:40 AM
The Lua Reference Manual is a good resource
http://www.lua.org/m...5.1/manual.htmlAlso for a more CC specific list check out the API's section of the wiki
http://computercraft...e=Category:APIs
Awesome. Thanks
839 posts
Location
England
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.htmlThey 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:APIsThere 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).