RosettaCodeData/Task/Loops-For-with-a-specified-step/Chapel/loops-for-with-a-specified-step.chapel
Ingy döt Net 6f050a029e update
2013-06-05 21:47:54 +00:00

6 lines
100 B
Text

// Can be set on commandline via --N=x
config const N = 3;
for i in 1 .. 10 by N {
writeln(i);
}