The Alternative Csound Reference Manual
Previous |  | Next

# s Statement

s -- Marks the end of a section.

## Description

The s statement marks the end of a section.

## Syntax

s anything

## Initialization

All p-fields are ignored.

## Performance

Sorting of the i statement, f statement and a statement by action time is done section by section.

Time warping for the t statement is done section by section.

All action times within a section are relative to its beginning. A section statement establishes a new relative time of 0, but has no other reinitializing effects (e.g. stored function tables are preserved across section boundaries).

A section is considered complete when all action times and finite durations have been satisfied (i.e., the "length" of a section is determined by the last occurring action or turn-off). A section can be extended by the use of an f0 statement.

A section ending automatically invokes a Purge of inactive instrument and data spaces.

| Note
| Since score statements are processed section by section, the amount of memory required depends on the maximum number of score statements in a section. Memory allocation is dynamic, and the user will be informed as extra memory blocks are requested during score processing. For the end of the final section of a score, the s statement is optional; the e statement may be used instead.

Previous | Home | Next
r Statement (Repeat Statement) | Up | t Statement (Tempo Statement)