RosettaCodeData/Task/Loops-N-plus-one-half/AppleScript/loops-n-plus-one-half-2.applescript
2026-04-30 12:34:36 -04:00

7 lines
115 B
AppleScript

set s to ""
repeat with n from 1 to 10
set s to s & n
if n = 10 then exit repeat
set s to s & ", "
end repeat
s