[PD] pd if statements

Lazzaro N. CIccoella ciccolix at tiscalinet.it
Sun Jan 23 09:44:29 CET 2005


vlada car wrote:
> hi,
> can anyone tell me what help file i should use to find out something
> about 'if' statements for PD.
> i am getting some data via tcp and would need to use that in pd. the
> print output looks like this:
> 
> tcp: 19:44:45 e
> 
> tcp: 19:44:45 r
> 
> tcp: 19:44:45 n
> 
> tcp: 19:44:45 b
> 
> and i need to use letters e r n b as numbers or as a bang function. so
> these buttons( e r n b )
> will trigger some processes.

one solution can be

|netreceive|
|
|unpack   s    s|
|		|
|set $1(	|select e r n b|
			| | | |

see attachment
--
Lazzaro




More information about the Pd-list mailing list