lua table1

print "helloworld"

--1 table 做配置文件
--2 table 做数据集

mytable ={}

mytable2={
1,2,3,4,5,"ok"
}

--index 从1开始
for i=1 ,#mytable2 do
    print (mytable2[i])
end

 

posted @ 2015-02-24 22:55  yufenghou  阅读(151)  评论(0编辑  收藏  举报