fork download
  1. function func()
  2. return 10, 20, 30, 40, 50, "abc"
  3. end
  4.  
  5. r1, r2, r3, r4, r5, r6 = func()
  6.  
  7. print(r1, r2, r3, r4, r5, r6)
  8. print(type(r1))
  9. print(type(r6))
Success #stdin #stdout 0.01s 2496KB
stdin
undefined
stdout
10	20	30	40	50	abc
number
string