# continue statement

The `continue` statement restarts a loop
that is under for...next or loop...repeat control.

## Syntax

```
continue
```

## Description

The program continues with the
first executable statement after the for or loop statement.

Note: If the continue is not embedded in a loop...repeat or for...next construct, it is ignored.

## Example(s)

```
loop
 input guess
 if guess=’restart’ then continue
while guess > 1 and guess < 100 do repeat
```

## See also

- [for...next statement](https://d3codex.com/pickbasic-flashbasic/for-next-statement/)
- [loop statement](https://d3codex.com/pickbasic-flashbasic/loop-statement/)
- [next statement](https://d3codex.com/pickbasic-flashbasic/next-statement/)
- [Statements and functions](https://d3codex.com/pickbasic-flashbasic/statements-and-functions/)

---
Source: https://d3codex.com/pickbasic-flashbasic/continue-statement/ - part of the D3Codex reference.
