# While

Evaluates a scope as long as another scope is truthy.

## Concepts Used

* [Scopes](scopes.md)

## Overview

`to` can be used to generate ranges:

```oto
1 = a
while (a < 5) (
  a + 1 = a
)
# a: 5
```

## Description

## Examples

## Common Bugs

## Further Reading

* [Each](each.md)
* [Loop](loop.md)
* [If](if.md)