lua-users home
lua-l archive

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


On 9/25/06, Luiz Henrique de Figueiredo <lhf@tecgraf.puc-rio.br> wrote:
> Am I justified in expecting the first flavor to work?

No. The reference manual says

        funcname ::= Name {'.' Name} [':' Name]

In that case, I might expect the following to work but it doesn't.

function steps.1 (a,b)
 print("steps[1]",a,b)
end

Can you tell me why?

 Thank you,
 Ken Smith