Loops/For with a specified step: Difference between revisions

Content added Content deleted
m (→‎{{header|Wren}}: Wren-trait -> Wren-iterate)
(Loops/For with a specified step in Dart)
Line 1,097: Line 1,097:
# step: 2
# step: 2
for( i = 1 : 2 : 9 ) io.writeln( i )</syntaxhighlight>
for( i = 1 : 2 : 9 ) io.writeln( i )</syntaxhighlight>

=={{header|Dart}}==
<syntaxhighlight lang="dart">main() {
for (int i = 1; i <= 21; i += 2) print(i);
}</syntaxhighlight>


=={{header|Delphi}}==
=={{header|Delphi}}==