Logo

Programming-Idioms

History of Idiom 50 > diff from v27 to v28

Edit summary for version 28 by :
[Ada] Added explanation for the 'null' statement

Version 27

2016-02-16, 16:58:17

Version 28

2016-02-16, 16:59:13

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
loop
   null;
end loop;
Code
loop
   null;
end loop;
Comments bubble
'null;' means do nothing