The break statement.


This statement allows the program to escape from for, while, do ... while loops and switch structures.

It should NOT be used to escape from an if block.


Examples

Switch example.


Top Master Index Keywords Functions


Martin Leslie