Logo

Programming-Idioms

History of Idiom 78 > diff from v43 to v44

Edit summary for version 44 by :
New Lua implementation by user [Nepta]

Version 43

2016-02-19, 21:42:00

Version 44

2016-04-07, 08:13:37

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
repeat
	someThing()
	someOtherThing()
until c
Comments bubble
The block code is not repeated in the source.
Demo URL
http://codepad.org/ODarWfIW