[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: Re: work3
- From: Luiz Henrique de Figueiredo <lhf@...>
- Date: Sat, 18 Dec 2004 18:04:33 -0200
> It is not obvious to me what the "-w" parameter does on the
> command line of lua.c.
It flags undefined global variables:
$ lua
Lua 5.1 (work) Copyright (C) 1994-2004 Tecgraf, PUC-Rio
> =a
nil
$ lua -w
Lua 5.1 (work) Copyright (C) 1994-2004 Tecgraf, PUC-Rio
> =a
stdin:1: attempt to access undefined variable `a'
stack traceback:
[C]: ?
stdin:1: in main chunk
[C]: ?
--lhf