Loops/Do-while: Difference between revisions

Loops/Do-while in Asymptote
(Loops/Do-while in Asymptote)
Line 484:
5
6</pre>
 
=={{header|Asymptote}}==
Asymptote's control structures are similar to those in C, C++, or Java
<lang Asymptote>int i = 0;
do {
++i;
write(" ", i, suffix=none);
} while (i % 6 != 0);</lang>
 
=={{header|AutoHotkey}}==
2,136

edits