RosettaCodeData/Task/Loop-over-multiple-arrays-simultaneously/Sather/loop-over-multiple-arrays-simultaneously.sa
2023-07-01 13:44:08 -04:00

10 lines
214 B
Text

class MAIN is
main is
a :ARRAY{STR} := |"a", "b", "c"|;
b :ARRAY{STR} := |"A", "B", "C"|;
c :ARRAY{STR} := |"1", "2", "3"|;
loop
#OUT + a.elt! + b.elt! + c.elt! + "\n";
end;
end;
end;