---
name: "For Type"
type: topic
source: https://community.bistudio.com/wiki/For_Type
revid: 245328
updated: 2021-02-10T23:45:38Z
---

# For Type

**Description:**
This type handles 'For' cycles.

**Usage of this type:**

for "_var" from :expr: to :expr: [step <expr>] do {..code..};

**Second usage:**

for [":initPhase:",":condition:",":updatePhase:"] do {...code...};

Introduced with Armed Assault, does not refer to Cold War Crisis or Resistance.

### See Also

[for](../commands/for.md), [Control Structures](../topics/Control_Structures.md)

<sub>Source: [BI Community Wiki — For Type](https://community.bistudio.com/wiki/For_Type) (revision 245328).</sub>
