Loops/For: Difference between revisions
Content added Content deleted
(+Icon+Unicon) |
|||
Line 317: | Line 317: | ||
WRITE() ' ' |
WRITE() ' ' |
||
ENDDO</lang> |
ENDDO</lang> |
||
== Icon and Unicon == |
|||
==={{header|Icon}}=== |
|||
<lang Icon>procedure main() |
|||
every i := 1 to 5 do { |
|||
every 1 to i do |
|||
writes("*") |
|||
write() |
|||
} |
|||
end</lang> |
|||
==={{header|Unicon}}=== |
|||
The Icon solution works in Unicon. |
|||
=={{header|J}}== |
=={{header|J}}== |