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

# return — Return

RETURN returns to the original control flow of the invoking control statement, thereby passing back the special local variable 'return'.

### Attributes
- (none)

### Children
- (none)

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

### Result
- (none documented)

### Examples

```xml
<function var="getName">
	<set var="return">iXML</set>
	<return/>
	<set var="return">XML</set>
</function>

<call func="getName" var="name"/>
<output>$name</output>

<!-- iXML -->
```
