RosettaCodeData/Task/Loops-For-with-a-specified-step/CLU/loops-for-with-a-specified-step.clu
2023-07-01 13:44:08 -04:00

9 lines
199 B
Text

% This prints all odd digits
start_up = proc ()
po: stream := stream$primary_output()
for i: int in int$from_to_by(1, 10, 2) do
stream$putl(po, int$unparse(i))
end
end start_up