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

[HELP] lua

Started by Cr33per, 08 August 2012 - 05:20 PM
Cr33per #1
Posted 08 August 2012 - 07:20 PM
Ok, so I have never programmed or learned any programming language EVER, My friends said lua is one of the easier languages to learn, but I wanted to ask How did u guys learn lua?
Cranium #2
Posted 08 August 2012 - 07:27 PM
I learned by reading other people's code, and the tutorials available in the forums here. I know someone wrote a tutorial program for lua in CC, but I can't remember how to get to it anymore. Perhaps someone else would know?
Matrixmage #3
Posted 08 August 2012 - 07:32 PM
I learned by reading other people's code, and the tutorials available in the forums here. I know someone wrote a tutorial program for lua in CC, but I can't remember how to get to it anymore. Perhaps someone else would know?

This thread has the program your thinking of. This will really you learning.
And Lua is one of the easiest languages too learn I've every encountered, so you'll probably have no trouble learning this ;)/>/>

http://www.computercraft.info/forums2/index.php?/topic/144-useful-tutorials-resources/
Cr33per #4
Posted 08 August 2012 - 07:50 PM
I learned by reading other people's code, and the tutorials available in the forums here. I know someone wrote a tutorial program for lua in CC, but I can't remember how to get to it anymore. Perhaps someone else would know?
Thanks I really apreciate it!
Cr33per #5
Posted 08 August 2012 - 07:52 PM
I learned by reading other people's code, and the tutorials available in the forums here. I know someone wrote a tutorial program for lua in CC, but I can't remember how to get to it anymore. Perhaps someone else would know?

This thread has the program your thinking of. This will really you learning.
And Lua is one of the easiest languages too learn I've every encountered, so you'll probably have no trouble learning this ;)/>/>

http://www.computerc...ials-resources/
Felt Like I had to write a separate thanks to both of you :(/>/> so thank you and especially for the link XD

Hopefully ill be writing scripts like MysticT soon lol XD Probably not but…. I have hopes u never know lol
Pharap #6
Posted 09 August 2012 - 06:38 AM
I already had prior programming knowledge, but had never touched lua before CC.

The thing to remember with programming is that almost all languages share certain common concepts. If you can understand those concepts, it makes it much easier.

The most important concepts are: Variables, Selection(testing things with if statements), Iteration(Looping, mainly conditional loops like do while, also do for, which does things a certain number of times), and all the funky operators(+ - * / % ^ < > <= >= )

It's by applying those that I have crawled up from just visual basic (a very basic language that a lot of people frown upon) to knowing visual basic as well as dabbling in C#, C++ and Lua, all in less than a year with no prior experience.

Once you have the concepts, it's more a matter of figuring out the exact process involved in what you want to do rather than worrying about remembering words and such (especially since ComputerCraft kindly supplies you with a half-decent wiki for all those funny words).

If you want a tutorial, I'm fine with sending you a note with a basic tutorial on programming. I've been told I'm a good programming teacher (by 3 people, though it's nothing to boast about) so hopefully I can help you.
Cr33per #7
Posted 09 August 2012 - 05:15 PM
I already had prior programming knowledge, but had never touched lua before CC.

The thing to remember with programming is that almost all languages share certain common concepts. If you can understand those concepts, it makes it much easier.

The most important concepts are: Variables, Selection(testing things with if statements), Iteration(Looping, mainly conditional loops like do while, also do for, which does things a certain number of times), and all the funky operators(+ - * / % ^ < > <= >= )

It's by applying those that I have crawled up from just visual basic (a very basic language that a lot of people frown upon) to knowing visual basic as well as dabbling in C#, C++ and Lua, all in less than a year with no prior experience.

Once you have the concepts, it's more a matter of figuring out the exact process involved in what you want to do rather than worrying about remembering words and such (especially since ComputerCraft kindly supplies you with a half-decent wiki for all those funny words).

If you want a tutorial, I'm fine with sending you a note with a basic tutorial on programming. I've been told I'm a good programming teacher (by 3 people, though it's nothing to boast about) so hopefully I can help you.
That Would be great Thanks I really ned all the stuff i can get
Pharap #8
Posted 10 August 2012 - 01:14 AM
I already had prior programming knowledge, but had never touched lua before CC.

The thing to remember with programming is that almost all languages share certain common concepts. If you can understand those concepts, it makes it much easier.

The most important concepts are: Variables, Selection(testing things with if statements), Iteration(Looping, mainly conditional loops like do while, also do for, which does things a certain number of times), and all the funky operators(+ - * / % ^ < > <= >= )

It's by applying those that I have crawled up from just visual basic (a very basic language that a lot of people frown upon) to knowing visual basic as well as dabbling in C#, C++ and Lua, all in less than a year with no prior experience.

Once you have the concepts, it's more a matter of figuring out the exact process involved in what you want to do rather than worrying about remembering words and such (especially since ComputerCraft kindly supplies you with a half-decent wiki for all those funny words).

If you want a tutorial, I'm fine with sending you a note with a basic tutorial on programming. I've been told I'm a good programming teacher (by 3 people, though it's nothing to boast about) so hopefully I can help you.
That Would be great Thanks I really ned all the stuff i can get

It's on my to do list. I will start as soon as possible, and I will be taking requests if there's anything you'd like to learn first.