> For the complete documentation index, see [llms.txt](https://doc.velneo.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://doc.velneo.com/29/velneo-vdevelop/proyectos-objetos-y-editores/editores/asistente-de-formulas/variables-globales.md).

# Variables globales

Al pulsar la tecla F6, se abrirá un panel pop-up con la lista de las variables globales declaradas tanto en el proyecto de datos en curso con en los proyectos heredados.

Si el botón está inactivo querrá decir que no se han declarado variables globales en los proyectos de datos.\
Para insertar una variable en la fórmula haremos doble clic sobre su identificador en la ventana correspondiente del asistente o escribir su nombre o usar las teclas del cursor para localizarla y pulsar la tecla intro.

En la fórmula la sintaxis de una constante es: $<ID_VARIABLE@id_proyecto.ext>

Ejemplo: `$TAX_RATE_2@vManagement.dat`

Si la variable es de tipo array para leer una posición del mismo tendremos que añadir a su identificador el número de la posición a leer entre corchetes. La primera posición de un array es la 0:

`$ID_VARIABLE@id_proyecto.vcd[3]`


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## 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://doc.velneo.com/29/velneo-vdevelop/proyectos-objetos-y-editores/editores/asistente-de-formulas/variables-globales.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.
