Advertisement
Guest User

Untitled

a guest
May 24th, 2015
196
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.42 KB | None | 0 0
  1. tarantool> function foo() return end
  2. ---
  3. ...
  4.  
  5. tarantool> c:call('foo')
  6. ---
  7. - []
  8. ...
  9.  
  10. tarantool> function foo() return nil end
  11. ---
  12. ...
  13.  
  14. tarantool> c:call('foo')
  15. ---
  16. - - [null]
  17. ...
  18.  
  19. tarantool> function foo() return 1 end
  20. ---
  21. ...
  22.  
  23. tarantool> c:call('foo')
  24. ---
  25. - - [1]
  26. ...
  27.  
  28. tarantool> function foo() return 1, 2, 3 end
  29. ---
  30. ...
  31.  
  32. tarantool> c:call('foo')
  33. ---
  34. - - [1]
  35. - [2]
  36. - [3]
  37. ...
  38.  
  39. tarantool> function foo() return {} end
  40. ---
  41. ...
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement