---
name: "from"
type: command
status: ok
groups: ["Program Flow"]
arma3_since: "0.50"
locality: {"argument": null, "effect": null, "server_exec": false}
source: https://community.bistudio.com/wiki/from
revid: 311162
updated: 2022-05-12T09:47:42Z
---

# from

*Command · Program Flow · Arma 3 v0.50 · introduced in Armed Assault v1.00*

## Description

Continue sequence of [for](../commands/for.md) construct. It sets the start value of the index variable.

## Syntax

```sqf
for from b
```

**Parameters:**

- `for`: [For Type](../topics/For_Type.md)
- `b`: [Number](../topics/Number.md)

**Returns:** [For Type](../topics/For_Type.md)

## Examples

### Example 1

```sqf
for "_i" from 10 to 20 do
{
    hint str _i; // will hint from 10 to 20, spaced by 1 second
    sleep 1;
};
```

## See also

[Control Structures](../topics/Control_Structures.md)

<sub>Source: [BI Community Wiki — from](https://community.bistudio.com/wiki/from) (revision 311162).</sub>
