next up previous contents index
Next: COMPUTE Up: SIC Language Internal Help Previous: BEGIN   Contents   Index


BREAK

        [SIC\]BREAK

    Terminate a loop execution. The two uses of command BREAK are usually
        ON ERROR BREAK
        FOR I 1 TO 3 BY 0.5
        ...
        NEXT
    or
        LET A = C               ! A is a known variable
        FOR I 1 TO 100 BY 1
        ...
        IF I+A.EQ.0
            BREAK
        END IF
        NEXT
    BREAK differs from QUIT because it does not transmit any error.


Gildas manager 2014-07-01