[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [sc-users] propose pow



On Monday, December 30, 2002, at 11:57  PM, James McCartney wrote:


On Monday, December 30, 2002, at 07:11 PM, christian.hresko wrote:

so instead of

x = y**2;

you have:

x = y.pow(2);

you can already do that in sc3. Look at the implementation of ** in Object.sc

i will have a looksie.


i'd like to add:

+=

as soon as i can figure out the math primitives in SC3. somewhat painful right now. but having:

x += y;

Not possible. SC is messages sent to values. += and ++ require a reference to a variable, not a value. References to variables are not obtainable.

fudge, fudge, and fudge.  thanks for the insight.


-- --- james mccartney james@xxxxxxxxxxxxxx <http://www.audiosynth.com> SuperCollider - a real time synthesis programming language for the PowerMac.
<ftp://www.audiosynth.com/pub/updates/SC2.2.16.sea.hqx>

_______________________________________________
sc-users mailing list
sc-users@xxxxxxxxxxxxxxx
http://www.create.ucsb.edu/mailman/listinfo/sc-users