[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@iem.at mailing list UNSUBSCRIBE and account-management -> http://iem.at/cgi-bin/mailman/listinfo/pd-list
#N canvas 353 92 454 304 12; #X msg 207 70 19:44:45 b; #X obj 206 214 bng 15 250 50 0 empty empty empty 0 -6 0 8 -262144 -1 -1; #X obj 247 197 bng 15 250 50 0 empty empty empty 0 -6 0 8 -262144 -1 -1; #X obj 162 117 niagara 1; #X obj 208 143 a2l; #X obj 206 170 sel e b; #X msg 136 44 20:44:45 e; #X connect 0 0 3 0; #X connect 3 1 4 0; #X connect 4 0 5 0; #X connect 5 0 1 0; #X connect 5 1 2 0; #X connect 6 0 3 0;