[chuck-users] changing a value with a function

Kassen signal.automatique at gmail.com
Sun Nov 4 12:59:26 EST 2007


On 11/3/07, Atte André Jensen <atte.jensen at gmail.com> wrote:


I think (hope:-)) you misunderstand my intentions. I just wanted to
> write a function that changes BPF.freq with call by reference and that
> also can be used on LPF (and friends)...



Ah! See? I shouldn't post before having drunk the complete cup of coffee.



>
> Fortunately I didn't instantiate it, I defined a function that takes one
> parameter "f" which is of type BasicFilter so that the function can be
> called with an instance any of BasicFilter's subclasses. Am I right?


This makes total and perfect sense as far as I can see, yes.



> --
> peace, love & harmony


And coffee! :¬)


Yours,
Kas.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.cs.princeton.edu/pipermail/chuck-users/attachments/20071104/0bc6beec/attachment.htm 


More information about the chuck-users mailing list