📜  如何在 lua 代码示例中打印变量

📅  最后修改于: 2022-03-11 14:54:54.154000             🧑  作者: Mango

代码示例2
-- Ill explain a variable: variables are like smaller versions of code.. Example:

local message = "Hello, this is a message!"
-- Made a smaller version of the string, so you don't have to copy and paste/type it out every time..

print(message) -- Prints a message into the console, which in this case is the variable!