You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
<p>Interface shared with other classes that implements pattern matching. See also: matchItem. Function.matchItem evaluates the function with the item as argument, expecting a Boolean as reply.
379
381
<p>See also <ahref="./../Reference/matchItem.html">matchItem</a>.<divclass='codeMirrorContainer'><textareaclass='editor'>{ |x| x > 5 }.matchItem(6); // true</textarea>
<p>a <ahref="./../Classes/Function.html">Function</a> which is passed two arguments, the first which is an integer from this to endval, and the second which is a number from zero to the number of iterations minus one.</table></div><h3class='method-code'><spanclass='method-prefix'>.</span><aclass='method-name' name='-forBy' href='./../Overviews/Methods.html#forBy'>forBy</a>(<spanclass='argstr'>endval</span>, <spanclass='argstr'>stepval</span>, <spanclass='argstr'>function</span>)</h3>
135
+
<p>a <ahref="./../Classes/Function.html">Function</a> which is passed two arguments, the first which is an integer from this to endval, and the second which is a number from zero to the number of iterations minus one.</table><h4>Discussion:</h4>
<p>Executes <strong>function</strong> for all integers from this to <strong>endval</strong>, inclusive, stepping each time by <strong>stepval</strong>.<h4>Arguments:</h4>
<p>a <ahref="./../Classes/Function.html">Function</a> which is passed two arguments, the first which is an integer from this to endval, and the second which is a number from zero to the number of iterations minus one.</table></div><h3class='method-code'><spanclass='method-prefix'>.</span><aclass='method-name' name='-collect' href='./../Overviews/Methods.html#collect'>collect</a>(<spanclass='argstr'>function</span>)</h3>
144
+
<p>a <ahref="./../Classes/Function.html">Function</a> which is passed two arguments, the first which is an integer from this to endval, and the second which is a number from zero to the number of iterations minus one.</table><h4>Discussion:</h4>
<p>an <ahref="./../Classes/Array.html">Array</a> of this size filled by objects generated from evaluating the <strong>function</strong>.</div></div><h3class='method-code'><spanclass='method-prefix'>.</span><aclass='method-name' name='-collectAs' href='./../Overviews/Methods.html#collectAs'>collectAs</a>(<spanclass='argstr'>function</span>, <spanclass='argstr'>class</span>)</h3>
<p>a <ahref="./../Classes/Function.html">Function</a> which is passed two arguments, the first which is an number from this to argument endval, and the second which is a number from zero to the number of iterations minus one.</table></div><h3class='method-code'><spanclass='method-prefix'>.</span><aclass='method-name' name='-forBy' href='./../Overviews/Methods.html#forBy'>forBy</a>(<spanclass='argstr'>endValue</span>, <spanclass='argstr'>stepValue</span>, <spanclass='argstr'>function</span>)</h3>
125
+
<p>a <ahref="./../Classes/Function.html">Function</a> which is passed two arguments, the first which is an number from this to argument endval, and the second which is a number from zero to the number of iterations minus one.</table><h4>Discussion:</h4>
<p>a <ahref="./../Classes/Function.html">Function</a> which is passed two arguments, the first which is an number from this to endval, and the second which is a number from zero to the number of iterations minus one.</table></div><h3class='method-code'><spanclass='method-prefix'>.</span><aclass='method-name' name='-forSeries' href='./../Overviews/Methods.html#forSeries'>forSeries</a>(<spanclass='argstr'>second</span>, <spanclass='argstr'>last</span>, <spanclass='argstr'>function</span>)</h3>
134
+
<p>a <ahref="./../Classes/Function.html">Function</a> which is passed two arguments, the first which is an number from this to endval, and the second which is a number from zero to the number of iterations minus one.</table><h4>Discussion:</h4>
<p>Instead of directly sending a method to an object, a method may be invoked given a method selector only (a Symbol). The other arguments may be provided by passing them directly, from an environment. If it is not known whether the receiver implements the method, tryPerform only sends if it does. The messages <code>superPerform</code>, <code>superPerformList</code>; and <code>superPerformArgs</code> invoke the method of the superclass.<h3class='method-code'><spanclass='method-prefix'>.</span><aclass='method-name' name='-perform' href='./../Overviews/Methods.html#perform'>perform</a>(<spanclass='argstr'>selector</span><spanclass='argstr'>... args</span>)</h3>
Copy file name to clipboardExpand all lines: Reference/loop.html
+1-1Lines changed: 1 addition & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -37,5 +37,5 @@
37
37
<divclass='subheader'>
38
38
</div>
39
39
40
-
<p>This file has been deleted as of September 2025, as its contents have been moved to <ahref="./../Reference/Iteration">Iteration</a>.<divclass='doclink'>helpfile source: <ahref='https://github.com/supercollider/supercollider/tree/develop/HelpSource/Reference/loop.schelp'>https://github.com/supercollider/supercollider/tree/develop/HelpSource/Reference/loop.schelp</a><br>link::Reference/loop::<br></div></div><scriptsrc='./../static/editor.js' type='text/javascript'></script>
40
+
<p>This file has been deleted as of September 2025, as its contents have been moved to <ahref="./../Reference/iteration.html">Iteration</a>.<divclass='doclink'>helpfile source: <ahref='https://github.com/supercollider/supercollider/tree/develop/HelpSource/Reference/loop.schelp'>https://github.com/supercollider/supercollider/tree/develop/HelpSource/Reference/loop.schelp</a><br>link::Reference/loop::<br></div></div><scriptsrc='./../static/editor.js' type='text/javascript'></script>
0 commit comments