OpenMusic

Visual Programming | Computer-Assisted Composition

Navigation : Previous | Next

ForLoop : Enumeration Between Two Values

General Properties

** ForLoop ** enumerates each element of a list ** from ** ** a minimum** value - starting point - ** to ** a maximum ** value - ending point - ** by ** **a default step of 1, and stops once the maximum value is exceeded.

Forloop has two default inputs and one optional input :

—|—

Constraints

Example : a List with a 7 step

ForLoop stops the iteration when the value defined by “to” is exceeded. Here, the first value returned by finally is the first value which exceeds the maximum value.

References :

Contents :

Navigation : Previous | Next