摘要: lua的索引从1开始 table初始化 local list = { [0]= 1, --整数做为索引 helloworld = 3, --字符串作为索引 ["0"] = 4 } print(list[0]) print(list["0"]) print(list["helloworld"]) pr 阅读全文
posted @ 2025-08-02 12:10 木土无心 阅读(32) 评论(0) 推荐(0)