HP Prime for All

English  Русский 

Syntax

BREAK [n];

Description

Exits from expression local loop structure.

Example

FOR A FROM 1 TO 10 DO B:= (A+3) MOD 5 IF B==1 THEN BREAK; END; END; If n is specified, allow to exit n loop structures.

BREAK — Discussion