Jump to content




Needing a list of All lua commands


5 replies to this topic

#1 Blocky_Balboa

  • New Members
  • 9 posts
  • Locationif internet = true then location = cave

Posted 09 August 2012 - 08: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 by Blocky_Balboa, 09 August 2012 - 08:34 AM.


#2 Luanub

    Lua Nub

  • Members
  • 1,135 posts
  • LocationPortland OR

Posted 09 August 2012 - 09:02 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

#3 Pharap

  • Members
  • 816 posts
  • LocationEngland

Posted 09 August 2012 - 09:25 AM

 Blocky_Balboa, on 09 August 2012 - 08:33 AM, said:

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.

#4 Blocky_Balboa

  • New Members
  • 9 posts
  • Locationif internet = true then location = cave

Posted 09 August 2012 - 09:39 AM

 Pharap, on 09 August 2012 - 09:25 AM, said:

 Blocky_Balboa, on 09 August 2012 - 08:33 AM, said:

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:)

#5 Blocky_Balboa

  • New Members
  • 9 posts
  • Locationif internet = true then location = cave

Posted 09 August 2012 - 09:40 AM

 luanub, on 09 August 2012 - 09:02 AM, said:

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

#6 Pharap

  • Members
  • 816 posts
  • LocationEngland

Posted 09 August 2012 - 09:56 AM

 Blocky_Balboa, on 09 August 2012 - 09:39 AM, said:

 Pharap, on 09 August 2012 - 09:25 AM, said:


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).





1 user(s) are reading this topic

0 members, 1 guests, 0 anonymous users