RosettaCodeData/Task/Call-a-function/Lingo/call-a-function-12.lingo

7 lines
122 B
Text
Raw Permalink Normal View History

2016-12-05 23:44:36 +01:00
on double (someList)
cnt = someList.count
repeat with i = 1 to cnt
someList[i] = someList[i] * 2
end repeat
end