> ## 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.

export const siteNameShort = "Arc";

Use the `arc:break` keyword to break out of iterations of [arc:call](./op-arc-call) or [arc:enum](./op-arc-enum). You can also use it to break out of an entire script if it is used outside the scope of any other {siteNameShort}Script keywords.

## Parameters

None

## Control Attributes

None

## Example

Break out of [arc:enum](./op-arc-enum). 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](./op-arc-continue): Continue to the next item.
* [arc:enum](./op-arc-enum): Loop over the values of an item, list, range, or multi-valued attribute.
* [arc:call](./op-arc-call): Loop over items returned by an operation.
