lua table中可以有函数

来源:互联网 发布:第十四届网络夏令营 编辑:程序博客网 时间:2024/05/18 01:57

tbl{    x=1,    2,    print("hello lua")}



可以看出table中可以有函数print等等

0 0
原创粉丝点击