fork download
  1. function func(...)
  2. local n = {...}
  3. for i =1, table.getn(n) do
  4. print(n[i])
  5. end
  6. end
  7.  
  8. func(1,2,3, "test",5)
Success #stdin #stdout 0.02s 2540KB
stdin
Standard input is empty
stdout
1
2
3
test
5