Loops/Foreach: Difference between revisions

Content added Content deleted
m (→‎{{header|Raku}}: Fix comments: Perl 6 --> Raku)
m (AWK: corrected imaginary syntax)
Line 319: Line 319:
<lang awk># This will not work
<lang awk># This will not work
BEGIN {
BEGIN {
for (l in "apples","bananas","cherries") {
for (el in "apples","bananas","cherries") {
print "I like " l
print "I like " el
}
}</lang>
}</lang>