1、交互式: 2、脚本式(在命令行不要启动lua解释器,直接输): Testlua.lua 的内容: print("Hello World!") 转载于:https://www.cnblogs.com/luguoshuai/p/9047907.html