RosettaCodeData/Task/Loops-Foreach/REXX/loops-foreach.rexx
2023-07-01 13:44:08 -04:00

6 lines
305 B
Rexx

days = 'zuntik montik dinstik mitvokh donershtik fraytik shabes'
do j=1 for words(days) /*loop through days of the week. */
say word(days,j) /*display the weekday to screen. */
end /*j*/
/*stick a fork in it, we're done.*/