# Continue
{: .no_toc }

Immediately begins the next iteration of the enclosing loop.

Syntax: **Continue** [ **Do** \| **For** \| **While** ]

Do

: Used within a [Do](/tB/Core/Do-Loop.md) loop.

For

: Used within a [For](/tB/Core/For-Next.md) loop.

While

: Used within a [While](/tB/Core/While-Wend.md) loop

> [!NOTE]
> **Continue** is a twinBASIC extension. Classic VBA has no skip-iteration form for any loop construct --- the closest equivalent is a forward [**GoTo**](/tB/Core/GoTo.md) to a label placed just before the loop's terminator.

## Example

This example uses **Continue For** to skip processing of certain characters of the string.

```tb check_build
Dim i%, ch$, text$
For i = 1 To 10
    ch = Mid$(text, i, 1)
    If ch = " " Then Continue For
    ' Process a non-space character here
Next i
```

