[PD] pd if statements

Lazzaro N. CIccoella ciccolix at tiscalinet.it
Sun Jan 23 09:49:39 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. 
apologize,
I forgot the attachment


one solution can be

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

see attachment
-- 
Lazzaro
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: select_e_r_n_b.pd
URL: <http://lists.puredata.info/pipermail/pd-list/attachments/20050123/62b0dcb2/attachment.txt>


More information about the Pd-list mailing list