The Hyper Programming Language

'break' Statement


The break statement in Hyper is almost identical to that in C++ and Java. It exits from a loop or iterate statement.


There are two possible forms. The first one is simply the keyword break, while the second one is break loop or break iterate.


The break statement used in the simple form applies to the nearest loop or iterate statement. When using the second form, you indicate what type of statement you want to exit. Of course, for both uses the break statement must be somewhere inside the statement to exit.

See also

Valid HTML 4.01 Strict Valid CSS!