Lua -Summe von Array
local function sum(sequence)
local temp = 0
for i = 1, #sequence do
temp = temp + sequence[i]
end
return temp
end
cyn
local function sum(sequence)
local temp = 0
for i = 1, #sequence do
temp = temp + sequence[i]
end
return temp
end