[PD] variables in throw~

marius schebella marius.schebella at gmail.com
Sun Aug 3 21:47:30 CEST 2008


since pd-0.40 $-variables don't have to be at the beginning of a symbol 
anymore, so

(num)
  |
[set channel$1(
  |
[throw~ channelX]

should work, too.
marius.

kristof lauwers wrote:
> hi,
> 
> this should do it..
> 
> (num)
> |
> [makefilename channel%d]
> |
> [set $1(
> |
> [throw~ channel0]
> 
> greetings,
> 
> xof
> 
> --------------------------------------------------------------
> info at kristoflauwers.domainepublic.net
> 
> http://kristoflauwers.domainepublic.net
> http://myspace.com/xofxof
> --------------------------------------------------------------
> 
> 
> At 08:58 p.m. 3/08/2008, you wrote:
> 
>> Hi
>>
>> I'd like to have a |throw~ channelX| where X is an integer (say 1-8)
>> controlled from a number box. It doesn't seem to be possible, but I hope
>> I'm wrong.
>>
>> Any input appreciated.
>>
>> --
>> peace, love & harmony
>> Atte
>>
>> http://atte.dk       | http://myspace.com/attejensen
>> http://anagrammer.dk | http://modlys.dk
>>
>> _______________________________________________
>> Pd-list at iem.at mailing list
>> UNSUBSCRIBE and account-management -> 
>> http://lists.puredata.info/listinfo/pd-list
> 
> 
> 
> 
> _______________________________________________
> Pd-list at iem.at mailing list
> UNSUBSCRIBE and account-management -> http://lists.puredata.info/listinfo/pd-list
> 





More information about the Pd-list mailing list