Advertisement
Guest User

Untitled

a guest
Aug 21st, 2019
92
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.27 KB | None | 0 0
  1. -- variables
  2. first = {
  3. {value = 1},
  4. {value = 2},
  5. {value = 3}
  6. }
  7. second = {
  8. {value = 1},
  9. {value = 2},
  10. {value = 3}
  11. }
  12. -- params
  13. multi = 3
  14.  
  15. function compute()
  16. x = first[1].value
  17. y = second[1].value
  18. return (x + y) * multi
  19. end
  20.  
  21. print(compute())
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement