# PAG Explicit Control Flow

> Express branching with IF / ELSE IF / ELSE, iteration with FOR EACH over a collection (never a bare FOR), and failure handling with TRY / CATCH, every conditional colon-terminated and every branch a complete directive sequence.

Record: `algorithms:pag-explicit-control-flow`
Kind: algorithm
Canonical: https://banes-lab.com/ontology/algorithms#algorithms-pag-explicit-control-flow
Closure: https://banes-lab.com/json/records/algorithms/pag-explicit-control-flow/closure

Listed in [Algorithm contracts](https://banes-lab.com/api/records/algorithms.md), after [PAG Handoff Gate](https://banes-lab.com/records/algorithms/pag-validation-gate.md) and before [PAG Invariant Record](https://banes-lab.com/records/algorithms/pag-constraint-boundary.md).

## Domain

- [Pattern Abstract Grammar](https://banes-lab.com/records/algorithms-domain/pag.md)

## Stage

- [act](https://banes-lab.com/records/stage/act.md)

## Axis

- [formalization](https://banes-lab.com/records/reasoning/axis-formalization.md)

## Tier

- [process](https://banes-lab.com/records/vocabulary/domain-tier-process.md)

## Composed by

- [PAG Authoring Kernel](https://banes-lab.com/records/algorithms/pag-authoring-kernel.md)
- [PAG Well-Formedness Validation](https://banes-lab.com/records/algorithms/pag-well-formedness-validation.md)

## Math type

- [Logic](https://banes-lab.com/records/reasoning/math-type-logic.md)

## Force

- [Control coordination](https://banes-lab.com/records/force/control-coordination.md)
- [Correctness verification](https://banes-lab.com/records/force/correctness-verification.md)

## Linked from

- [Pattern Abstract Grammar](https://banes-lab.com/ontology/algorithms/algorithms-domain-pag.md)
- [The derivation loop](https://banes-lab.com/ontology/reasoning/reasoning-loop-derivation-loop.md)
- [The axes](https://banes-lab.com/ontology/reasoning/the-axes.md)
- [The mathematics](https://banes-lab.com/ontology/reasoning/the-mathematics.md)
- [Domain tiers](https://banes-lab.com/ontology/schema/the-vocabulary-domain-tier.md)
- [The forces](https://banes-lab.com/ontology/schema/the-forces.md)
