Logo

Programming-Idioms

History of Idiom 50 > diff from v13 to v14

Edit summary for version 14 by :

Version 13

2015-08-21, 09:04:03

Version 14

2015-08-21, 09:11:14

Idiom #50 Make an infinite loop

Write a loop which has no end clause.

Idiom #50 Make an infinite loop

Write a loop which has no end clause.

Code
While True do { nothing };
Comments bubble
Actual do statements can be omitted by using a semicolon.

The "{ nothing }" part is a comment.