---
title: "eval — Evaluate expression"
description: "iXML command eval: Evaluate expression."
canonical_url: "https://www.zeyos.com/ixml/ref/eval"
markdown_url: "https://www.zeyos.com/ai/guide/ixml/ref/eval.md"
section: "ixml-reference"
authority: "reference"
language: "en"
source_repository: "https://cloud.zeyos.com/__doc/ixmldoc.xml"
source_sha256: "a23f04e6a98628ca3c273c3b8dd2c33c034cfda3e0f00478d8793074fd2f70dd"
---

# eval — Evaluate expression

EVAL evaluates an expression of a given data type.

### Attributes
| Name | Type | Default | Description |
| ---- | ---- | ------- | ----------- |
| var | var |  | Result variable name |
| type | type | string | Data type |

#### Possible values
Possible values for `type`:
- bool — Boolean
- int — Integer number
- float — Floating point number
- string — String


### Children
- (none)

### Parents
- (not restricted in the reference)

### Result
- binding: var; type: bool|int|float|string

### Examples

```xml
<set var="dollar">$</set>
<set var="name">iXML</set>

<output>
	<eval>My name is $dollar$name!</eval>
</output>

<!-- My name is iXML! -->
```
