Programming-Idioms

History of Idiom 78 > diff from v6 to v7

Edit summary for version 7 :

Version 6

2015-09-03, 15:55:00

Version 7

2015-09-04, 12:35:16

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;
    somethingElse;
}
while (c);
Demo URL
http://dpaste.dzfl.pl/337d7e4efcab