There's an echo in my head

日々のメモ。

2013-04-10から1日間の記事一覧

Lua/Corona SDKのAPIで調べたこと

配列っぽいテーブルに要素を追加する local t = {} table.insert(t, 1) table.insert(t, "a") http://lua-users.org/wiki/TablesTutorial ファイルを読み込んで1行ずつ処理する local path = system.pathForFile("foo.txt") local f = io.open(path, "r") fo…

このブログに出てくるコードスニペッツは、引用あるいは断りがない限りMITライセンスです。