[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [sc-users] problem with Event
e.func = { |self, arr| arr.class.postln };
e.func(e.data[0]);
I'm sure that's documented somewhere... I know it's in the list archives.
http://www.create.ucsb.edu/pipermail/sc-users/2003-December/007200.html
hjh
On 8/29/05, Till Bovermann <tboverma@xxxxxxxxxxxxxxxxxxxxxxxx> wrote:
> e = ();
>
> e.data = ({1.0.rand}!100).clump(5);
>
> e.func = {|arr| arr.class.postln}
>
> e.func.value(e.data[0])
>
> -> Event
>
> e[\func].value(e[\data])
>
> -> Array
>
>
>
> ????? (should be both Array...)
>
>
> regards
> Till
> _______________________________________________
> sc-users mailing list
> sc-users@xxxxxxxxxxxxxxx
> http://www.create.ucsb.edu/mailman/listinfo/sc-users
>
--
James Harkins /// dewdrop world
jamshark70@xxxxxxxxxxxxxxxxx
http://www.dewdrop-world.net
"Come said the Muse,
Sing me a song no poet has yet chanted,
Sing me the universal." -- Whitman