[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: Re: Free format strings?
- From: Luiz Henrique de Figueiredo <lhf@...>
- Date: Wed, 25 Dec 2002 09:59:21 -0200
>I'm sorry, but what's going on here is more of a
>quirk of the Lua interpreter than a problem in the language.
>When you use the lua interpreter as an interactive tool,
>every line is compiled separately as a chunk, unless the interpreter
>detects that the line is not finished (such as in function definitions,
>loops, etc)
If you want to write complex code interactively, starts with "do". Then the
code won't be executed until you enter "end".
--lhf