> ## Documentation Index
> Fetch the complete documentation index at: https://docs.arc.cdata.com/llms.txt
> Use this file to discover all available pages before exploring further.

# arc:break

> Breaks out of iterations of arc:call or arc:enum, or exits an entire script when used outside any other ArcScript keyword scope.

Use the `arc:break` keyword to break out of iterations of [arc:call](https://docs.arc.cdata.com/26.4/self-hosted/en/scripting/keyword-reference/op-arc-call.md) or [arc:enum](https://docs.arc.cdata.com/26.4/self-hosted/en/scripting/keyword-reference/op-arc-enum.md). You can also use it to break out of an entire script if it is used outside the scope of any other ArcScript keywords.

## Parameters

None

## Control Attributes

None

## Example

Break out of [arc:enum](https://docs.arc.cdata.com/26.4/self-hosted/en/scripting/keyword-reference/op-arc-enum.md). The following example lists the first two attributes of the item `foo`:

```xml theme={null}
<arc:set attr="foo.attr1" value="value1"/>
<arc:set attr="foo.attr2" value="value2"/>
<arc:set attr="foo.attr3" value="value3"/>

<arc:enum item="foo">
[_index]: [_attr] has the value [_value]. 
<arc:equals attr="_index" value="2"> 
<arc:break/>
</arc:equals>
</arc:enum>
```

## See Also

* [arc:continue](https://docs.arc.cdata.com/26.4/self-hosted/en/scripting/keyword-reference/op-arc-continue.md): Continue to the next item.
* [arc:enum](https://docs.arc.cdata.com/26.4/self-hosted/en/scripting/keyword-reference/op-arc-enum.md): Loop over the values of an item, list, range, or multi-valued attribute.
* [arc:call](https://docs.arc.cdata.com/26.4/self-hosted/en/scripting/keyword-reference/op-arc-call.md): Loop over items returned by an operation.


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.