2 summary::range of integers
6 An Interval is a range of integers from a starting value to an ending value by some step value.
11 Create a new Interval.
14 10 to: 30; // the message to creates an interval with step 1
20 The starting value of the interval.
23 The ending value of the interval.
26 The step value of the interval.
29 Return the number of items in the interval.
31 Interval(10, 30, 4).size.postln;
35 Return the indexed item in the interval.
37 Interval(10, 30, 4).at(3).postln;
41 Evaluates function for each item in the interval. The function is passed two arguments, the item and an integer index.
43 Interval(10, 30, 4).do({ arg item, i; item.postln });