Break, continue, return

From Erights

(Redirected from Break)
Jump to: navigation, search

The three operators break, continue, and return (collectively ExitExpr) are all very simple syntactic sugar; they exist solely so that writing break instead of break() does not surprisingly do nothing (as it would if break, continue, and return were just conventional names for functions).

break expr

expands to


and correspondingly for continue and return.

Personal tools
more tools