lua-users home
lua-l archive

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


I think the point is that if he had:

----
test = ""
if test then
  -- Do something
end
---

that he doesn't want the conditional block to be executed.

~Jonathan

On Mon, Aug 16, 2010 at 11:32 AM, Luiz Henrique de Figueiredo
<lhf@tecgraf.puc-rio.br> wrote:
>> for example i want in my interpreter this code works :
>> test = "Hello"
>> if test then
>>   -- Do Something
>> end
>
> It already works in the stock interpreter, doesn't it?
>