Pastebin
API
tools
faq
paste
Login
Sign up
SHARE
TWEET
Untitled
a guest
May 22nd, 2018
91
0
Never
Add comment
Not a member of Pastebin yet?
Sign Up
, it unlocks many cool features!
text
0.19 KB
| None
|
0
0
raw
download
clone
embed
print
report
function sum(...)
values = {...}
result = 0
for i, x in pairs(values) do
result = result + x
end
return result
end
blah = sum(1,2,3)
print (blah)
blah = sum(5,1,72,1,42)
print (blah)
Add Comment
Please,
Sign In
to add comment
Public Pastes
🤑 G2A.com Free Gift Card Guide Apr 2024 FIX 🤑
GetText | 32 min ago | 0.39 KB
util.lua
Lua | 34 min ago | 2.26 KB
3x4.lua
Lua | 35 min ago | 0.53 KB
Untitled
FreeBasic | 1 hour ago | 0.29 KB
2024-04-25_stats.json
JSON | 2 hours ago | 3.61 KB
2024-04-25_stats.json
JSON | 2 hours ago | 3.60 KB
2024-04-25_stats.json
JSON | 2 hours ago | 3.57 KB
Weight Method - CS220
Java | 3 hours ago | 3.66 KB
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the
Cookies Policy
.
OK, I Understand
Not a member of Pastebin yet?
Sign Up
, it unlocks many cool features!