Loops/For with a specified step: Difference between revisions
Content added Content deleted
(→{{header|Tcl}}: ++ smalltalk) |
(→{{header|Forth}}: ++ fortran) |
||
Line 31: | Line 31: | ||
." who do we appreciate?" cr ; |
." who do we appreciate?" cr ; |
||
</lang> |
</lang> |
||
=={{header|Fortran}}== |
|||
{{works with|Fortran|90 and later}} |
|||
<lang fortran> do i = 1,10,2 |
|||
print *, i |
|||
end do</lang> |
|||
=={{header|Haskell}}== |
=={{header|Haskell}}== |