Hello list, I have encountered a small problem: If I input a list composed of symbols that use the space character, how can I substitute the " " to a "_"? Also, how can I convert a symbol with space characters back to a list?
Thanks
Tom
#N canvas 268 217 631 491 10; #X obj 106 157 l2s; #X text 92 10 NEEDS ZEXY; #X obj 19 161 l2s; #X obj 50 193 pack s s; #X obj 75 58 bng 15 250 50 0 empty empty empty 0 -6 0 8 -262144 -1 -1; #X obj 76 81 t b b; #X text 102 47 CLICK HERE to make a list composed of symbols that use the space character; #X obj 108 232 print list_of_symbol; #X obj 54 215 t a a; #X obj 54 305 drip; #X obj 54 384 tosymbol; #X msg 72 361 separator _; #X obj 53 423 print result; #X text 119 292 The result I need is the substitution of _ to the spaces , how can I make this work? How can I convert a symbol with space characters back to a list?; #X obj 54 337 t a b a; #X obj 206 354 a2l; #X obj 206 376 length; #X floatatom 206 397 5 0 0 0 - - -; #X msg 18 132 this does not; #X msg 119 124 work like I want; #X connect 0 0 3 1; #X connect 2 0 3 0; #X connect 3 0 8 0; #X connect 4 0 5 0; #X connect 5 0 18 0; #X connect 5 1 19 0; #X connect 8 0 9 0; #X connect 8 1 7 0; #X connect 9 0 14 0; #X connect 10 0 12 0; #X connect 11 0 10 0; #X connect 14 0 10 0; #X connect 14 1 11 0; #X connect 14 2 15 0; #X connect 15 0 16 0; #X connect 16 0 17 0; #X connect 18 0 2 0; #X connect 19 0 0 0;
Hallo, tom hat gesagt: // tom wrote:
Hello list, I have encountered a small problem: If I input a list composed of symbols that use the space character, how can I substitute the " " to a "_"?
Send a message "symbol _" to the right inlet of [l2s].
Also, how can I convert a symbol with space characters back to a list?
[s2l]
Frank Barknecht _ ______footils.org__
Sorry, does not help. I run PD 0.37.1 with many extras from sourceforge with Win XP. [l2s] does not have a second inlet and I do not have [s2l] in my setup. In what library is it?
Tom
-----Original Message----- From: pd-list-admin@iem.at [mailto:pd-list-admin@iem.at] On Behalf Of Frank Barknecht Sent: Monday, June 07, 2004 11:53 AM To: pd-list@iem.at Subject: Re: [PD] symbol-string problem
Hallo, tom hat gesagt: // tom wrote:
Hello list, I have encountered a small problem: If I input a list composed of symbols that use the space character,
how
can I substitute the " " to a "_"?
Send a message "symbol _" to the right inlet of [l2s].
Also, how can I convert a symbol with space characters back to a list?
[s2l]
Frank Barknecht _ ______footils.org__
PD-list mailing list PD-list@iem.at to manage your subscription (including un-subscription) see http://iem.at/cgi-bin/mailman/listinfo/pd-list
tom wrote:
Sorry, does not help. I run PD 0.37.1 with many extras from sourceforge with Win XP. [l2s] does not have a second inlet and I do not have [s2l] in my setup. In what library is it?
both are in (recent versions of) "zexy". "recent" means several months, so they should have made it into the sf-installer already, but obviously they have not (as [l2s] only has one inlet...)
get a more recent compile from ftp://iem.at/pd/Externals/ZEXY
mfg.a.sdr IOhannes
Hallo, tom hat gesagt: // tom wrote:
I run PD 0.37.1 with many extras from sourceforge with Win XP. [l2s] does not have a second inlet and I do not have [s2l] in my setup. In what library is it?
It's all in zexy. You probably have an older version of zexy. My zexy life is at version 1.3.
Frank Barknecht _ ______footils.org__
----- Original Message ----- From: "Frank Barknecht" fbar@footils.org
Also, how can I convert a symbol with space characters back to a list?
[s2l]
yes, but you need a new version of zexy
roman