Passing multiple table values to function

Hello -
Can you please point me in the right direction in regards to answering the following:

How would I pass the multiple values in a table to a function?

For example, I have function testFunction(a, b, c, d, e)

I have several tables with different values for a, b, c, d, e.

How would I pass the values in one of those table to the function?

Thank you for your help. [import]uid: 32833 topic_id: 6502 reply_id: 306502[/import]

[lua]local function testFunction(valueTable)

print(valueTable.a, valueTable.b, valueTable.c, valueTable.d, valueTable.e)

end

local table1 = {a=1, b=2, c=3, d=4, e=5}
local table2 = {a=“A”, b=“B”, c=“C”, d=“D”, e=“E”}

testFunction(table1)
testFunction(table2)[/lua] [import]uid: 6645 topic_id: 6502 reply_id: 22723[/import]

Thank you very much, jmp909! [import]uid: 32833 topic_id: 6502 reply_id: 22746[/import]