Input/Output for lines of text: Difference between revisions

Content added Content deleted
(added Arturo)
Line 198: Line 198:
Pack my Box with 5 dozen liquor jugs
Pack my Box with 5 dozen liquor jugs
</pre>
</pre>
=={{header|Arturo}}==

<syntaxhighlight lang="arturo">printLine: function [line]-> print line

lineCount: to :integer strip input ""

do.times:lineCount [
line: input ""
printLine line
]</syntaxhighlight>

=={{header|AWK}}==
=={{header|AWK}}==
<syntaxhighlight lang="awk">
<syntaxhighlight lang="awk">