Assume there is a function like this:
Code: Select all
function myFunc(a,b,c)
b = b or 10
c = c or -1
print (a,b,c)
end
Because myFunc(10,20) would set a and b, and leave c as default. Or can you use some type of explicit assignment, like this... myFunc(10,c=20) ?