Break Page

break



Return to Reserved Words - Keywords, Programming Glossary

----

* What programming languages support the Reserved Word break. Answer in MediaWiki syntax with the URL of the official documentation for each language reference.

----

* break - Terminates the innermost loop (Go Keyword)
* https://en.cppreference.com/w/cpp/keyword/break

Here are some programming languages that support the `break` reserved word along with links to their official documentation:

Programming Languages Supporting 'break' Keyword


* C: [https://devdocs.io/c/language/break C Documentation]
* C++: [https://devdocs.io/cpp/language/break C++ Documentation]
* Java: [https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/lang/break.html Java Documentation]
* JavaScript: [https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Statements/break JavaScript Documentation]
* Python: [https://docs.python.org/3/tutorial/controlflow.html#break-and-continue-statements Python Documentation]
* Ruby: [https://ruby-doc.org/core-3.0.3/doc/syntax/control_expressions_rdoc.html#label-break+Statement Ruby Documentation]
* Go: [https://golang.org/ref/spec#Break_statements Go Documentation]
* TypeScript: [https://www.typescriptlang.org/docs/handbook/release-notes/typescript-1-5.html TypeScript Documentation]
* Swift: [https://docs.swift.org/swift-book/ReferenceManual/Statements.html#ID545 Swift Documentation]
* PHP: [https://www.php.net/manual/en/control-structures.break.php PHP Documentation]
* Perl: [https://perldoc.perl.org/perlsyn.html#Loop-Control Perl Documentation]

These languages use the `break` keyword to exit loops or switch statements. You can find more details about its usage in each language's documentation.


{{wp>Break}}

{{disambiguation}}

{{navbar_reserved_words}}

{{navbar_programming}}

{{navbar_footer}}