Pseudo-method question

classic Classic list List threaded Threaded
3 messages Options
Reply | Threaded
Open this post in threaded view
|

Pseudo-method question

kflak
Hi list,

Why does this work:

x = {arg data = []; data.postln};
x.value([1,2,3]);

and this not:

m = ();
m.dlt = {arg data = [];data.postln};
m.dlt.value([1,2,3]);

?

K
Reply | Threaded
Open this post in threaded view
|

Re: Pseudo-method question

Nathan Ho
Hi kflak,

Sorry, but this message is in the wrong place. You're looking for the sc-users subforum: http://new-supercollider-mailing-lists-forums-use-these.2681727.n2.nabble.com/SuperCollider-Users-New-Use-this-f2676391.html

If you post to sc-users, you will need to be subscribed to the sc-users list (see http://www.birmingham.ac.uk/facilities/ea-studios/research/supercollider/mailinglist.aspx), or sc-users-acl for non-delivery.


Nathan

kflak wrote
Hi list,

Why does this work:

x = {arg data = []; data.postln};
x.value([1,2,3]);

and this not:

m = ();
m.dlt = {arg data = [];data.postln};
m.dlt.value([1,2,3]);

?

K
Reply | Threaded
Open this post in threaded view
|

Re: Pseudo-method question

kflak
Ah, thanks for the heads up!