# Constants

## Predefined constants

### CYCLE

Maximum number of iterations in a cycle. By default, it is 1600000000.

### DEPTH

Maximum nesting of executable blocks. Limits the recursion depth. By default, it is equal to 1000.

### IOTA

The *IOTA* constant is used to automatically calculate the sequence of constants.

```
const IOTA * 2 {"a6}
    ZERO // 0
    TWO // 2
    FOUR // 4
}
```

### SCRIPT

The *SCRIPT* constant returns the path of the current script. If it was not specified, the *run* name is returned.

```go
// compile from file: /home/ak/gentee/scripts/myscript.g
run {
    Println(SCRIPT) // /home/ak/gentee/scripts/myscript.g
}

// compile from memory
run my_best_script {
    Println(SCRIPT) // my_best_script
}
```

### VERSION

The *VERSION* constant returns the current version of the Gentee compiler.


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.gentee.org/stdlib/constants.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
