Hex Editor
Hex Editor - Binary File Editing Software for Windows

break Statement

HHD Software - Hex Editor Serial Port Monitor USB Protocol Analyzer Network Monitor
 
 
 
< PreviousTopNext >

break statement has the following syntax:

statement-break:        
break;
      

The ';' character at the end of the statement is mandatory.

The break statement may be used:

  • Inside the switch statement to stop statement evaluation.
  • Inside the for statement, while statement or do…while statement to cancel a loop.

Starting from version 5.01, break statement always ends the current scope, even if it is used outside of the switch or loops.

< PreviousTopNext >
Copyright © 2012 HHD Software. All rights reserved.