[GEM-dev] Re: [PD-dev] "drip" ing a symbol char by char
B. Bogart
ben at ekran.org
Tue Feb 17 15:59:27 CET 2004
Thankes Johannes,
This is great for one direction, but I can't figure out how to reverse
your patch to build a symbol out of a sequence of chars. An object to
append a char to a symbol (not list) seems the easiest..
I'd prefer a patch solution (or existing external) before I try and
write one!
Thanks
Ben
IOhannes m zmoelnig wrote:
> B. Bogart wrote:
>
>> Hey all,
>>
>> Is there an external (or abstraction) that takes a symbol and passes
>> out each char one by one in order?
>>
>
> you could use [symbol2list] ([s2l]) (part of "zexy")
> by default it will split between spaces, but you can change the
> delimiter to "nothing" by giving the second inlet an empty symbol
>
>
> mfg.a.sdr
> IOhannes
>
>------------------------------------------------------------------------
>
>#N canvas 233 102 104 160 10;
>#X obj 18 73 s2l;
>#X obj 18 93 repack 1;
>#X obj 34 44 symbol;
>#X symbolatom 18 7 10 0 0 0 - - -;
>#X obj 34 24 loadbang;
>#X obj 18 121 print drip;
>#X connect 0 0 1 0;
>#X connect 1 0 5 0;
>#X connect 2 0 0 1;
>#X connect 3 0 0 0;
>#X connect 4 0 2 0;
>
>
More information about the GEM-dev
mailing list