Loops/For with a specified step: Difference between revisions
Content added Content deleted
(→{{header|ALGOL 68}}: Rm custom highlighting and extra whitespace) |
(Added AutoHotkey.) |
||
Line 52: | Line 52: | ||
* until<sup>(C)</sup> - for late loop termination. |
* until<sup>(C)</sup> - for late loop termination. |
||
* foreach<sup>(S)</sup> - for working on arrays in [[Parallel computing|parallel]]. |
* foreach<sup>(S)</sup> - for working on arrays in [[Parallel computing|parallel]]. |
||
=={{header|AutoHotkey}== |
|||
<lang AutoHotkey>SetBatchLines, -1 |
|||
Loop, 50 |
|||
{ |
|||
If Mod(A_Index, 10) |
|||
Continue |
|||
MsgBox, % A_Index |
|||
} |
|||
ExitApp</lang> |
|||
=={{header|BASIC}}== |
=={{header|BASIC}}== |