Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- -- variables
- first = {
- {value = 1},
- {value = 2},
- {value = 3}
- }
- second = {
- {value = 1},
- {value = 2},
- {value = 3}
- }
- -- params
- multi = 3
- function compute()
- x = first[1].value
- y = second[1].value
- return (x + y) * multi
- end
- print(compute())
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement