lua-users home
lua-l archive

[Date Prev][Date Next][Thread Prev][Thread Next] [Date Index] [Thread Index]

On Fri, 18 Feb 2011 09:56:57 -0200, Luiz Henrique de Figueiredo
<> wrote:
>  local file = ('/var/tmp/myfile.txt',"w")

Thanks guys, it works now. I didn't notice that mode had to be quoted.

BTW, is there a tool that can parse a Lua script to spot syntax

As this script is called by a C program, when there's a bug, it's
difficult to tell if the error is compile-time or run-time, as it just
returns non-zero.

Thank you.