Lua Memo

値をファイルに書き込む

file:write (value1, ...)

引数のそれぞれの値を file に書き込む。 引数は文字列か数字でなければならない。 それ以外の値を書き込むには、 write の前に tostring か string.format を使う。