← Back to Explore

for-iter-fail-continue

Iteration-level FAIL CONTINUE exits loop without accumulating result.

for-loops

Rundown


# FOR Iteration Fail Continue

## 1. Process items

- FOR item IN 1 TO 3
  - PASS DEFER
  - FAIL CONTINUE
- PASS ALL CONTINUE
- FAIL ANY STOP

### 1.1 Check {{item}}

- DEFER

```bash
rd echo "item={{item}}"
```

## 2. Done

- PASS COMPLETE

```bash
rd echo "done"
```

Run

Fail triggers CONTINUE — result not accumulated, parent sees empty → passes

Initializing...

Initializing...

Step/2