[PD] combining to strings

Alex alex at idoia.com
Thu Mar 6 16:07:58 CET 2003


You still have the add2 command in message boxes that comes with the pd 
package. I assume it is not as handy as zexy' s object but...

On Thursday, March 6, 2003, at 02:57  pm, stotz wrote:

> 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
>>
>
>
>
>
>
> _______________________________________________
> 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