Flow-control structures: Difference between revisions

Content added Content deleted
(→‎{{header|Tcl}}: Add example of 'try' for exception handling)
Line 106: Line 106:
etc...
etc...
</pre>
</pre>

=={{header|AWK}}==
Awk has ''break'' and continue'' for loop control, as in C.
<lang awk$ awk 'BEGIN{for(i=1;;i++){if(i%2)continue; if(i>=10)break; print i}}'
2
4
6
8</lang>


=={{header|C}}==
=={{header|C}}==