Variable Assignments
Variable assignments in Lua are case sensitive.
-- Note: All number types are doubles. There are no integers. print(type(42), type(42.0)) -- prints out "number number" variable_one = 1 + 2 - 3 -- This will equal zero. variable_One = "Variables are case sensitive." a, b = 42, 101 --multiple assignment a, b = b, a --provides quick value swap x, y, z = 1, 2, 3, "this value is discarded" x, y, z, mytext = 1, 2, 3, "this value is discarded"