lua-users home
lua-l archive

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


Title: RE: converting lua functions to strings

> Because the parser cannot understand that (the old problem
> with optional
> semicolons...). In Lua 5.0, you can write that adding parentheses:
>
>   (function(x) return x end) ("foo")

Doesn't this syntax trim parameters to the first one only ?

--
Vincent Penquerc'h