Loops/For: Difference between revisions
Content added Content deleted
(→{{header|Visual Basic}}: a variable should not be highlighted...) |
|||
Line 481: | Line 481: | ||
bundle Default { |
bundle Default { |
||
class For { |
class For { |
||
function : Main(args : String[]) |
function : Main(args : String[]) ~ Nil { |
||
DoFor(); |
DoFor(); |
||
} |
} |
||
function : native : DoFor() |
function : native : DoFor() ~ Nil { |
||
for (i := 0; i < 5; i += 1;) { |
for (i := 0; i < 5; i += 1;) { |
||
for (j := 0; j <= i; j += 1;) { |
for (j := 0; j <= i; j += 1;) { |