# Loops

## Create a `for` loop

### Syntaxe

```rust
for (<variable-declaration> ; <condition> ; <variable-update>) {
    <block>
}
```

### Variables declaration:

* Classical variable declaration with syntax:&#x20;

```rust
<identifier> : <type> = <value>;
```

### Condition:

* Classical condition to stop the for loop.

### Variable update:

* Classical assigment to variable in for scope.

### Examples:

```rust
for (i: Int = 0; i < 10; i++) {
    <block>
}
```

```rust
for (; 1 == 1; ) {
    <block>
}
```
