← Back to Explore

for-variable-expansion

FOR loop variable expansion in step descriptions and commands.

for-loops

Rundown


# FOR Loop Variables

## 1. Process items

- FOR item IN 1 TO 3
- PASS ALL: CONTINUE

### 1.1 Handle item {{item}} index {{Index}}

```bash
rd echo item={{item}} index={{Index}}
```

Run

FOR loop variables expand across iterations

Initializing...

Initializing...

Step/