This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
lua_tutorial [2023/04/25 19:17] – [Dev Tools and Lua Source Files] kali | lua_tutorial [2023/04/29 07:52] (current) – kali | ||
---|---|---|---|
Line 82: | Line 82: | ||
{{ :: | {{ :: | ||
+ | |||
+ | local target = Player: | ||
Now what did I do there? I simply utilized the information we learned with 3 variables and [[https:// | Now what did I do there? I simply utilized the information we learned with 3 variables and [[https:// | ||
===== Introducing Basic Lua Terms ===== | ===== Introducing Basic Lua Terms ===== | ||
+ | |||
+ | - explain what a variable is | ||
+ | - comments | ||
+ | - identifiers, | ||
+ | - the 21 reserved keywords | ||
+ | - whitespace and readability | ||
+ | - variable definition, lists, and declaration | ||
+ | - the 8 " | ||
+ | - nil, boolean, number, string, function, userdata, thread, and table | ||
+ | - the type function | ||
+ | - arithmetic operators | ||
+ | - relational operators | ||
+ | - logical operators | ||
+ | - miscellaneous operators | ||
+ | - operator precedence | ||
+ | - loops, break, and infinite loops | ||
+ | - if statements | ||
+ | - functions | ||
+ | - defining | ||
+ | - arguments | ||
+ | - calling | ||
+ | - assigning and passing | ||
+ | - variable arguments | ||
+ | - strings and string manipulation | ||
+ | - replacing a substring, find and match | ||
+ | - string formatting | ||
+ | - character and byte representation | ||
+ | - arrays and multi-dimensional arrays | ||
+ | - iterators | ||
+ | - tables and table manipulation | ||
+ | |||
+ | ===== Making our First Module ===== | ||
+ | |||
+ | ===== Common Functions and Standard Libraries ===== | ||
+ | |||
+ | ===== Error Handling and Debugging ===== | ||
+ | |||
+ | ===== Garbage Collection and Performance Impact ===== | ||
+ | |||
+ | ===== Object Oriented and Inheritance ===== |