-
... ll, execution picks up just after the first yield and continues with the second string, and so forth. When there is nothing more to yield, r.next returns nil. We will come back to the use of routines for data generation. More important for ...
-
... in a Rect (see SCView ). See also: GUI-Overview , SCWindow , Pen , Color , and String SCUserView-Subclassing Creation / Class Methods *new (parent, bounds) parent - The parent view. bounds - An instance of Rect , or a Point indicating widt ...
-
... ing is much easier if you understand what the error output means. Error text: A string describing the error. In this case, "Message 'xxx' not understood" means that you attempted to use the method xxx on a class that does not implement it. ...
-
... t – n items. a = [1, 2, 3, 4, 5]; a.drop(3); a.drop(-3); join(joiner) Returns a String formed by connecting all the elements of the receiver, with joiner imbetween. [ "m" , "ss" , "ss" , "pp" , "" ].join( "i" ) flat Returns a collection fro ...
-
... the ViewRedirect subclass, Pen . See also: SCWindow , SCUserView , Color , and String Drawing Methods The following methods define paths. You will need to call *stroke or *fill to actually draw them. *moveTo (point) Move the Pen to point . ...
-
... mber of outputs for this UGen. name Returns the Class name of the receiver as a String . madd(mul, add) Wraps the receiver in a MulAdd UGen. This is for the most part only used in UGen class definitions in order to allow efficient implement ...
-
... 6], 100); a.replace([4, 5, 6], [1734, 1985, 1860]); this method is inherited by String : a = "hello world" ; a.replace( "world" , "word" ); asRandomTable return an integral table that can be used to generate random numbers with a specified ...
-
... 50@90, // bounds " test " , // label \freq , // controlSpec { |ez| (ez.value.asString ++ " is the value of " ++ ez).postln} // action ); g.setColors( Color .grey, Color .white) ); // Simplest version, no parent view, so a window is created ...
-
... closed, i.e. has no external references and can thus be converted to a compile string safely. Evaluation value(... args) Evaluates the FunctionDef referred to by the Function. The Function is passed the args given. { |a, b| (a * b).postln ...
-
... ) }; Common methods to use are: .postln .postcs // post the object as a compile string .debug(caller) // post the object along with a tag identifying the caller .debug is defined in the crucial library, so Linux and Windows users may not ha ...