Not sure if I'm getting your meaning, but the first argument (index) can be used as many times as you want, it will always be the same within your function.
Code:
local function func(index)
return index, index, index
end
local var1, var2, var3 = func(3) -- 3, 3, 3