> For the complete documentation index, see [llms.txt](https://trizen.gitbook.io/sidef-lang/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://trizen.gitbook.io/sidef-lang/syntax_and_semantics/constructs/continue.md).

# Continue

The `continue` statement can be used inside a `given/when` construct to continue to the next branch.

```ruby
given (10) { |i|
    when (10) {
        say "It's ten"
        continue
    }
    case (i.is_even) {
        say "It's even"
        continue
    }
    case (i % 5 == 0) {
        say "It's divisible by 5"
    }
}
```

## Output:

```
It's ten
It's even
It's divisible by 5
```
