RosettaCodeData/Task/Loops-Continue/AppleScript/loops-continue.applescript

13 lines
225 B
AppleScript
Raw Permalink Normal View History

2026-04-30 12:34:36 -04:00
set table to ""
2023-07-01 11:58:00 -04:00
repeat with i from 1 to 10
2026-04-30 12:34:36 -04:00
repeat 1 times
set table to table & i
if i mod 5 = 0 then
set table to table & return
exit repeat
end if
set table to table & ", "
end repeat
2023-07-01 11:58:00 -04:00
end repeat
2026-04-30 12:34:36 -04:00
return table