Table of Contents

About

A flow command that exit from within:

Syntax

break [n]

where:

  • n is the break level. n must be ≥ 1.

Exit

  • If n is greater than the number of enclosing loops, all enclosing loops are exited.
  • The return value is non-zero when n is ≤ 0; Otherwise, break returns 0 value.