Loops/Foreach: Difference between revisions
Content added Content deleted
SqrtNegInf (talk | contribs) 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 ( |
for (el in "apples","bananas","cherries") { |
||
print "I like " |
print "I like " el |
||
} |
|||
}</lang> |
}</lang> |
||