[PD] pd if statements

Eric Skogen eskogen at usfamily.net
Sat Jan 22 23:25:44 CET 2005


[select] probably can't interpret your first value. use [niagara 1] 
which will filter the first value (19:44:45) to it's left outlet and the 
character you want to test for (e, r, n, b)  to it's right outlet. 
connect that right outlet to something like [a2l] and run the select. 
see attached.


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.
>so when i make 
>|receive tcp| then |select e r n b| i get error: gatom: no method for '20:'
>do i need to convert these values or translate them?
>
>can somebody please help?
>thanks
>v
>
>_______________________________________________
>PD-list at iem.at mailing list
>UNSUBSCRIBE and account-management -> http://iem.at/cgi-bin/mailman/listinfo/pd-list
>
>  
>

-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: dear_vlada.pd
URL: <http://lists.puredata.info/pipermail/pd-list/attachments/20050122/1cb1948b/attachment.asc>


More information about the Pd-list mailing list