declare variable in lua code example
Example 1: lua variable
-- Private Variable
local name1 = "John"
-- Public Variable
name2 = "Jane"
print(name1)
print(name2)
Example 2: lua variables
-- Nil (no value)
-- Number => Example: 1234567890
-- String => Example: "random text"
-- Function
-- Userdata
-- Boolean (true/fanse)
-- Table
-- Thread