Wed, 25 Sep 2013 15:00:13 +0100
examples/luastate.lua: Fix variable name (thanks Stephen Q)
examples/luastate.lua | file | annotate | diff | comparison | revisions |
--- a/examples/luastate.lua Thu Apr 19 00:29:35 2012 +0100 +++ b/examples/luastate.lua Wed Sep 25 15:00:13 2013 +0100 @@ -98,7 +98,7 @@ local fd = file if type(file) == 'string' then - fd = io.open(filename, "w") + fd = io.open(file, "w") end fd:write(sformat("memory = %i bytes\n", collectgarbage"count" * 1024)) fd:write(sformat("str_data = %i\n", str_data))