Scripting Helpers is winding down operations and is now read-only. More info→
Ad
Log in to vote
-2

Where can i learn LUA? [closed]

Asked by 9 years ago

I know this much

print 'this is all i know' -- outside of single
--[[ and muli-
line comments]]
print "BLAAAAAAAAAAAAH" --------- and its case sensitive and two dashes minimum NOT 2 EXACTLY

and that's it where did you learn?

Closed as Not Constructive by adark, Ekkoh, and evaera

This question has been closed because it is not constructive to others or the asker. Most commonly, questions that are requests with no attempt from the asker to solve their problem will fall into this category.

Why was this question closed?

1 answer

Log in to vote
0
Answered by
adark 5487 Badge of Merit Moderation Voter Community Moderator
9 years ago

Please try to search for your question to see if it already has an answer - this one especially has been asked countless times.

I'm going to start you off with saying that your use of print there is a function call with an argument.

What you wrote there is actually just syntactic sugar for this:

print('this is all i know')

The parentheses can be dropped because the only argument given is a single string, although I suggest that you never drop them. Using them adds readability without detracting from speed literally at all.

I suggest you try to read through this tutorial.

0
like that is too advance for me. i understand read the tutorial but thats all xXxCONBOY456xXx 15 — 9y
Ad