Loops/While: Difference between revisions

Line 2,172:
 
=={{header|ObjectIcon}}==
 
The important thing here is that the test for termination is a succeed-or-fail operation, rather than a boolean expression. No boolean value is written to the output; rather, the whole statement fails when ''n'' reaches zero.
 
<lang objecticon>import io
1,448

edits