lua -i prog
dofile(“file.lua”)
lua is case-sensitive
comment:–,--[[]],通常用–[[–]]
Lua needs no separator between consecutive statements, but we can use a semicolon if we wish.
The userdata type allows arbitrary C data to be stored in Lua variables.
we can assign nil to a global variable to delete it.
program in lua笔记
最新推荐文章于 2024-01-11 08:43:46 发布