< FunctionEnvironment | CodeSamples | Label >

---% Code tested with Luxinia 0.96alpha build Dec 21 2006
---% at 12/29/06 13:43:39
-- function that take a variable number of arguments
function types(name,...)
  print(name)
  for i=1,arg.n do 
    print("  "..type(arg[i]))
  end
end

types("the types are",1,"bla",nil,{1,2,3})