Skip to content

Commit 02f8e18

Browse files
committed
Simplify continue statement snippets
1 parent f7ca29b commit 02f8e18

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

docs/New Features/Continue Statement.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,12 +21,12 @@ Note, `continue` will skip code. If any code within your loop will determine if
2121

2222
## Continue's Only Argument
2323
This keyword accepts an optional integral argument which tells it how many levels of enclosing loops it should skip to the end of. The default value is 1, thus skipping to the end of the current loop.
24-
```pluto showLineNumbers title="Example 1"
24+
```pluto norun title="Example 1"
2525
for i = 1, 10 do -- Loop 1.
2626
continue 1 -- This is identical to `continue` without any arguments.
2727
end
2828
```
29-
```pluto showLineNumbers title="Example 2"
29+
```pluto norun title="Example 2"
3030
for i = 1, 10 do -- Loop 1.
3131
for ii = 1, 5 do -- Loop 2.
3232
continue 1 -- This will continue from Loop 2.

0 commit comments

Comments
 (0)