lua-users home
lua-l archive

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


When passing arguments to a function, I know that you can use myFunc(a,nil,c) to skip an argument (with the appropriate argument checking in the function of course). What I want to know is if there is a way to do it with myFunc(a,,c) and have the empty argument between the ,, automatically be passed as nil.