Lua语言教程1 ——【变量输出,方法输出,if语句和for循环语句!】 变量输出: num="Hello Lua" print (num) 方法输出: if语句: for循环语句: 不支持类似print(""+name);字符串链接用的这个print(""..name)