COMMAND NAME:

        BREAK

USAGE:

        BREAK

        BREAK is an SCL statement that alters the flow of control.  It
        terminates the innermost loop construct.  Control resumes with the
        statement following the terminated loop.

EXAMPLE:

                MAX_ITER = 100
                .
                .
                for(idx=0; idx < MAX_ITER; idx++)
                {
                    sim step
                    if( #'ovflow' == $b1 )
                    {
                        print "Overflow condition at time", time
                        break
                    }
                }
                print "iterations:",idx

        The for loop will iterate a maximum of 100 times (as established by
        the variable MAX_ITER).  Should the signal 'ovflow' assume the value
        $b1 before idx becomes MAX_ITER then the break statement will cause
        the loop to terminate prematurely.  Control will resume with the
        statement print "iterations:",idx.


SEE ALSO:

        FOR
        DO
        WHILE
        CONTINUE
