一、梦开始的地方Hello World lua中,语句可以省略分号; 第一个lua程序: print("hello world") print('hello world') print([[hello world]]) 二、注释 lua中分为 【单行注释】 和 【多行注释】 单行注释 使用两个减号-- -- 这是一行注释 多行注释 使用减号和中括号 --[[多行注释内容]]--[[多行注释内容]]----[[多行注释内容--]] --[[ 多行 注释 ]] --[[ 第二种 多行 注释 ]]-- --[[ 第三种 多行 注释 --]]