Just thought I'd throw this out there (partly so when I next search for the answer, Google will find it!)
Given a function abc
function abc(iData1, iData2)
return string.format("Data1=%i, Data2=%i", iData1, iData2);
end
and some data values
local i1 = 40
local i2 = 60
we can call it...