RosettaCodeData/Task/Call-a-function/Lingo/call-a-function-5.lingo
2023-07-01 13:44:08 -04:00

7 lines
113 B
Text

on sum ()
res = 0
repeat with i = 1 to the paramCount
res = res + param(i)
end repeat
return res
end