Logo

Programming-Idioms

History of Idiom 78 > diff from v2 to v3

Edit summary for version 3 by :

Version 2

2015-09-01, 21:02:34

Version 3

2015-09-01, 21:03:27

Idiom #78 "do while" loop

Execute a block once, then execute it again as long as boolean condition c is true.

Idiom #78 "do while" loop

Execute a block once, then execute it again as long as boolean condition c is true.

Code
do {
	someThing();
	someOtherThing();
} while(c);
Comments bubble
The block code is not repeated in the source.