Loops/Foreach: Difference between revisions

m
remove a tag that went astray
m (remove a tag that went astray)
Line 1,294:
do j=1 for words(days) /*loop through days of the week. */
say word(days,j) /*display the weekday to screen. */
end lang postscript> /*j*//*stick a fork in it, we're done.*/</lang>
end /*j*/
lang postscript> /*stick a fork in it, we're done.*/</lang>
 
=={{header|Ruby}}==
2,300

edits