[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [sc-users] propose pow
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'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.
--
--- 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>