> For the complete documentation index, see [llms.txt](https://docs.zontroy.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.zontroy.com/zontroy-offline-code-generator/zontroy-ai-offline-code-generator-tutorial/zg-for.md).

# zg-for

### *<mark style="color:blue;">For Loop</mark>*

<figure><img src="/files/ASOlcmn8pnLfTIZtBERO" alt=""><figcaption></figcaption></figure>

*For loop is a programming language conditional iterative statement which is used to check for certain conditions and then repeatedly execute a block of code as long as those conditions are met.*

```
zg-for((([[[variable]]]:::[[[predefined_collection]]]))){{{

}}}
```
