Hello,
it is possible to give a label to loops,
is it possible to do something like this for match ? if ? for ?
The syntax is available for all loop expressions: loop
, while
, while let
and for
. It is used to specify what loop to exit with break
or where to skip with continue
.
It doesn't make much sense with if
and match
. Both these expressions are exited by just evaluation an expression, you don't break out of them.
3 Likes
thank you Federico
This topic was automatically closed 90 days after the last reply. We invite you to open a new topic if you have further questions or comments.