Input/Output for lines of text: Difference between revisions
Content added Content deleted
(→{{header|Kotlin}}: Updated example see https://github.com/dkandalov/rosettacode-kotlin for details) |
Walterpachl (talk | contribs) m (→{{header|REXX}}: add Output sample) |
||
Line 468: | Line 468: | ||
/*────────────────────────────────────────────────────────────────────────────*/ |
/*────────────────────────────────────────────────────────────────────────────*/ |
||
stuff: do k=1 for #; call lineout ,x.k; end; return</lang> |
stuff: do k=1 for #; call lineout ,x.k; end; return</lang> |
||
{{out}} |
|||
<pre>3 |
|||
aaa |
|||
bbb |
|||
ccc |
|||
aaa |
|||
bbb |
|||
ccc</pre> |
|||
=={{header|Ruby}}== |
=={{header|Ruby}}== |