-
Post posts text to the post window Inherits from: Object The class Post is a stream destination. a = "a string" ; b = 'a symbol' ; c = 4; d = [1,2,3,4,a,b]; // post as string Post << a << Char .nl; // post as compile string Post <<< a << Ch ...
-
... Values test for infinity, not-a-number, and denormals CheckBadValues.ar(in, id, post) CheckBadValues.kr(in, id, post) This UGen tests for infinity, NaN (not a number), and denormals. If one of these is found, it posts a warning. Its output ...
-
... which refer to different instances of the variables curVal and stepVal x.value.postln; // posts 10 x.value.postln; // posts 11 z.value.postln; // posts 99 z.value.postln; // posts 199 x.value.postln; // posts 12 x.value.postln; // posts 13 ...
-
... number a = Pseed (1972, Prand ([1,2,3], inf )); b = a.asStream; 10.do({ b.next.post }); c = a.asStream; 10.do({ c.next.post }); // using a seed pattern as input: a = Pseed ( Pseq ([1812, 1912], inf ), Prand ([1,2,3], 5 )); b = a.asStream; ...
-
... tasks or even simply by evaluating a bit of code, one can insert messages like postln and postcs anywhere in the code. // calculating the sum of n subsequent squares ( var n = 8, x = 0; (1..n).do { |num| x = x + num.squared }; x ) // what ...
-
... method is inherited from a superclass. If not found, return nil. dumpAllMethods Post all instance methods which instances of this class responde too, including inherited ones. this.class.dumpAllMethods will post all class methods which this ...
-
... ([1, -1], inf ), 10); // start in the middle x = a.asStream; ) 200.do({ x.next.post; ", " .post }); b = a.copy.directionPattern_(1); // this one will always wrap around x = b.asStream; 200.do({ x.next.post; ", " .post }); // non-random wal ...
-
... cters. Strings can be written literally using double quotes: "my string" .class.postln; Class Methods *readNew(file) Read the entire contents of a File and return them as a new String. Instance Methods at(index) Strings respond to .at in a ...
-
... History _if_ gui.history is current. popUp sameDoc/newDoc switches whether the postDoc method posts to old post-doc window or new. button closeAll closes all documents called "History repeats", button closeOld closes only those created fro ...
-
... Hello World!' to well, wherever it prints text. In SC that's a place called the post window. The post window is the one that opened up when you first started SC, and a bunch of stuff was printed there which looks something like this: init_O ...