(cherry picked from commit 1ad7e4f30b)
This commit is contained in:
Miran
2020-11-20 12:31:06 +01:00
committed by narimiran
parent e99c248106
commit 577b4f795c

View File

@@ -472,13 +472,15 @@ innermost construct, unless a label of a block is given:
echo "looping"
break # leaves the loop, but not the block
echo "still in block"
echo "outside the block"
block myblock2:
echo "entering block"
while true:
echo "looping"
break myblock2 # leaves the block (and the loop)
echo "still in block"
echo "still in block" # it won't be printed
echo "outside the block"
Continue statement