Break: Difference between revisions

From EDukeWiki
Jump to navigation Jump to search
m formatting
m wording
Line 1: Line 1:
Used to stop code after the '''break''' from executing. Can also be used to exit a [[state]] early. Also used inside [[switch]] blocks to close '''[[case]]''' statements.
A single '''break''' command can be
used to stop code after the '''break''' from executing. Can also be used to exit a [[state]] early. Also used inside [[switch]] blocks to close '''[[case]]''' statements.


[[Category:Duke3D 1.3/1.5 commands]]
[[Category:Duke3D 1.3/1.5 commands]]

Revision as of 14:16, 10 May 2012

A single break command can be used to stop code after the break from executing. Can also be used to exit a state early. Also used inside switch blocks to close case statements.