[PD] combining to strings

stotz oliver at klingt.org
Thu Mar 6 15:57:37 CET 2003


Quoting Michael Hackl <hackl at plankton.net>:

> is there a way to combine two strings (in messages) to one
> example:
>  msg hello_ 
>  msg world
> 
> i want -> msg hello_world

hi,

you need zexy's "makesymbol"- object for this. you have to pack the items into 
a list to make it work correctly. see the help-patch

> 
> or is there a way to eval $1 expressions in strings:
> obj 10 10 r receive$1
>  has the result :r receive$1
> but i need :r receive{0-9}*
> 
> is there a way to get this result?

"makefilename" does the trick

z.B.

[2]
|
|
[makefilename receive%d]
|
|
(obj 10 10 r $1)

this should create "r receive2"

ciao

oliver




> 
> michael
> 
> 
> 
> 
> _______________________________________________
> PD-list mailing list
> PD-list at iem.kug.ac.at
> http://iem.kug.ac.at/cgi-bin/mailman/listinfo/pd-list
> 








More information about the Pd-list mailing list