[PD] set value by message

Enrique Erne enrique at netpd.org
Sun Feb 22 14:05:30 CET 2009


Frank Barknecht wrote:
> Hallo,
> Enrique Erne hat gesagt: // Enrique Erne wrote:
> 
>> is it possible to set a [value] by a message?
>> i.e.
>>
>> [value foo]
>>
>> [;
>> foo 27(
>>
>> error: value: no method for 'float'
>> ... you might be able to track this down from the Find menu.
> 
> Well, obviously it's not possible. :)
> 
> You can use a [r foo] receiver in parallel to [value foo] and it will
> receive the 27, but you still get the error message from [value], so I
> would avoid that.
> 
> You can use a second [value foo] if you want to remotely set another
> [value foo], in fact, that's how [value] is designed to work.
> 
> ciao


i guess was just lazzy and wanted to put all my initialization in one 
message. this works for arrays and receives but not for values.

thanks anyway







More information about the Pd-list mailing list