> For the complete documentation index, see [llms.txt](https://gamingmod.gitbook.io/chardscript-docs/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://gamingmod.gitbook.io/chardscript-docs/chardscript-tutorial/chardscript-variables/output-variables.md).

# Output Variables

The ChardScript `echo()` function is often used to output variables.

#### Example

{% code lineNumbers="true" %}

```renpy
call x = "ChardScript is awesome"
echo(x)
```

{% endcode %}

You can also use the `+` operator to output multiple variables:

#### Example

{% code lineNumbers="true" %}

```renpy
call x = "ChardScript "
call y = "is "
call z = "awesome"
echo(x + y + z)
```

{% endcode %}

{% hint style="info" %}
Notice the space character after `"ChardScript "` and `"is "`, without them the result would be "ChardScriptisawesome".
{% endhint %}

For numbers, the `+` character works as a mathematical operator:

#### Example

{% code lineNumbers="true" %}

```renpy
call x = 5
call y = 10
echo(x + y)
```

{% endcode %}

In the `echo()` function, when you try to combine a string and a number with the `+` operator, ChardScript will give you an error:

#### Example

{% code lineNumbers="true" %}

```renpy
call x = 5
call y = "John"
echo(x + y)
```

{% endcode %}
