RosettaCodeData/Task/Call-a-function/Lingo/call-a-function-12.lingo
2016-12-05 23:44:36 +01:00

6 lines
122 B
Text

on double (someList)
cnt = someList.count
repeat with i = 1 to cnt
someList[i] = someList[i] * 2
end repeat
end