lua-users home
lua-l archive

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

--- Eugen-Andrei Gavriloaie <> wrote:
>  > a={}
>  > print(a)
> table: 0x10b1b0
>  >
> I think the question remains: Why boolean variables
> are so special? Am  
> I missing something important?

so what is the different between boolean and table ?
the only auto convertion as far as I know is number
all the rest would give you error if you want to do a
'concat' or other string operation. print() do the
tostring() internally if I am not mistaken because
that is the end result you want(print), 'a human
readable representation of a lua value'.

Never miss a thing.  Make Yahoo your home page.