RosettaCodeData/Task/Loops-Foreach/CLU/loops-foreach.clu

11 lines
269 B
Text
Raw Permalink Normal View History

2023-07-01 11:58:00 -04:00
start_up = proc ()
po: stream := stream$primary_output()
words: array[string] := array[string]$
["enemy", "lasagna", "robust", "below", "wax"]
for word: string in array[string]$elements(words) do
stream$putl(po, word)
end
end start_up