Simple Applescript math question

Hi,

I have a set of numbers in a list {“1”,“2”,“3”}. How would I add up all the numbers in the list with AppleScript?

Thanks

Hi,


set numList to {"1", "2", "3"}
set addResult to 0
repeat with i in numList
	set addResult to addResult + i as integer
end repeat
addResult