
Declare variables in lua with the local keyword, allocating memory and allowing type inference from the initial value. Use the assignment operator to assign values; uninitialized variables may be null.
Explore data types in Lua, including integers and floating point numbers, how types govern data use and operations, and the fact that Lua is dynamically typed.
Explore basic arithmetic operators in Lua, including addition, subtraction, multiplication, division, and modulus, and learn how to use them to perform calculations.
Explore how selection statements control program flow in Lua by evaluating boolean expressions. Learn to implement if and else blocks to execute code when conditions are true or false.
Lua Programming Master The Fundamentals For Beginners course is a 1hour course for beginners. In the course, we will cover the basics of the Lua programming language. By the end of the course, you should have a beginner's working knowledge of how to program in Lua, so this course will prepare you for using Lua in the way you want to, whether that's modding your favourite games, scripting in your OS of choice, or writing libraries for others to use.
Topics include:
Lua syntax
How to use if Statements & if else Statements in Lua
How to use while and repeat loops Statements in Lua
How to use for and for-in loops Statements in Lua
How to make and how to call functions in Lua
What are Variables, and the role they play in programming/ coding
What are Datatypes, and the role they play in programming/ coding
`Arithmetic operators, and the role they play in programming/ coding
Relational operators, and the role they play in programming/ coding
Logical operators, and the role they play in programming/ coding
By coding along with the lectures, the information will stick with you as we go through the material, and by the end, your programming skills will be strong enough for you to understand all the basic, fundamentals, to go on to bring to life whatever idea you can think of!