# Variables/Placeholders in TEAL program

You can define variables or placeholders in your TEAL program. During compilation, the IDE will ask to input values for these variables.

The variable name should always start with a prefix **VAR\_TMPL\_ .**&#x20;

**Example:**

```
#pragma version 2

int VAR_TMPL_AMOUNT
txn Amount
...
...
```

In the above example,  when you compile the TEAL program, you need to enter VAR\_TMPL\_AMOUNT variable value. The IDE automatically detects all variables start with VAR\_TMPL\_ and asks the user for the variable values if required. The IDE then creates the final source file in build/generated\_src folder and then compile the final source file using the configured compiler (goal or Algorand node).


---

# 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://algodea-docs.bloxbean.com/variables-placeholders-in-teal-program.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.
