RosettaCodeData/Task/Loop-over-multiple-arrays-s.../Sather/loop-over-multiple-arrays-s...

11 lines
226 B
Plaintext

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