RosettaCodeData/Task/Loops-For/AppleScript/loops-for.applescript

9 lines
145 B
AppleScript

set x to linefeed
repeat with i from 1 to 5
repeat with j from 1 to i
set x to x & "*"
end repeat
set x to x & linefeed
end repeat
return x