Hello all, I'm new to open computers (and lua) but I have worked with c++ in the past, although it was many years ago. My quick questions are as follows:
-Sometimes when I get a result from the lua interpreter, it doesn't give me all the results, but has ellipses after the first 10 or so. How do I view the rest of the results/ all of the results?
-Is there a way to delete all of the text in a .lua file? I plan on editing my code in a text editor then pasting it in and don't want to manually delete everything anytime I make changes. Or, maybe a better question is: what's the best way to externally write/edit code and then get it into my OC?
-Last question! are there any good tutorials online for learning lua? I know the manual is a good resource but it is a bit too dry for me (I'm doing this for fun, afterall). I was looking for something more interactive maybe? I don't have anything specific in mind, I just want to learn some of the syntax and possibilities!
You can post now and register later.
If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.
Hello all, I'm new to open computers (and lua) but I have worked with c++ in the past, although it was many years ago. My quick questions are as follows:
-Sometimes when I get a result from the lua interpreter, it doesn't give me all the results, but has ellipses after the first 10 or so. How do I view the rest of the results/ all of the results?
-Is there a way to delete all of the text in a .lua file? I plan on editing my code in a text editor then pasting it in and don't want to manually delete everything anytime I make changes. Or, maybe a better question is: what's the best way to externally write/edit code and then get it into my OC?
-Last question! are there any good tutorials online for learning lua? I know the manual is a good resource but it is a bit too dry for me (I'm doing this for fun, afterall). I was looking for something more interactive maybe? I don't have anything specific in mind, I just want to learn some of the syntax and possibilities!
Thanks for any help!
Link to post
Share on other sites