Lua 函数的定义和调用
function plus(num1,num2)
	return num1+num2
end
print(plus(100,5))

根据lua的语法习惯,好吧以end来决定范围的


首页 我的博客
粤ICP备17103704号