lua-users home
lua-l archive

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


Another silly question:

     print((function(y) return y+10; end) (10));

Is there a reason the () around the function object are required? To put it
another way -- what is the precedence of function() end in relation to the
call operator?

--
Quinn Tyler Jackson