lua-users home
lua-l archive

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


Sorry, it's a my mistake.
Regards,
Linker Lin
linker.m.lin@gmail.com


On Fri, Dec 5, 2008 at 15:50, Linker <linker.m.lin@gmail.com> wrote:

function bind(f,...)
args={...}
print(f)
table.foreach(args,print)

end

bind(1,"2")

output:
1
1  2
I think the right behaivor is:
1
2


Regards,
Linker Lin
linker.m.lin@gmail.com