local arr1 = {1, 2, 3,6, [5]=5} print(arr1[4]) print(arr1[5]) 6 5
lua数组
数组下标是从1开始:
猜你喜欢
转载自xiangjie88.iteye.com/blog/2271724
今日推荐
周排行