} Statement
Prev | Score Statements and GEN Routines | Next

## } Statement

} — Ends a non-sectional, nestable loop.

## Description

The { and } statements can be used to repeat a group of score statements. These loops do not constitute independent score sections and thus may repeat events within the same section. Multiple loops may overlap in time or be nested within each other.

## Syntax

                }

## Initialization

All pfields are ignored.

## Performance

The } statement is used in conjunction with the { statement to define repeating groups of other score events. A score loop begins with the { statement which defines the number of repetitions and a unique macro name that will contain the current loop counter. The body of a loop can contain any number of other events (including sectional breaks) and is terminated by a } statement on its own line. The } statement takes no parameters.

See the documentation for the { statement for further details.

## Examples

See the examples in the entry for the { statement.

## Credits

Author: Gabriel Maldonado

New in Csound version 3.52 (?). (Fixed in version 5.08).

Prev | Up | Next
{ Statement | Home | GEN Routines