lua-users home
lua-l archive

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

>Why does Lua interpret something like
>              (action["*"])()
>          as  action["*"]()()
>  and not as  action["*"]()   ?

Statements in Lua cannot begin in parentheses.
The line (action["*"])() is not valid Lua code.

Perhaps you had something before it, such as
This is read as
	a=b (action["*"])()
which gives the two CALLs.