[PD] (breaking symbols) was Re: find a list of numbers in a text file

Hans-Christoph Steiner hans at at.or.at
Sun Sep 11 07:20:07 CEST 2011


On Sep 10, 2011, at 9:25 PM, Jonathan Wilkes wrote:

>
>
>
>
> ----- Original Message -----
>> From: Mathieu Bouchard <matju at artengine.ca>
>> To: Jonathan Wilkes <jancsika at yahoo.com>
>> Cc: Frank Barknecht <fbar at footils.org>; "pd-list at iem.at" <pd-list at iem.at 
>> >
>> Sent: Saturday, September 10, 2011 3:40 PM
>> Subject: Re: [PD] (breaking symbols) was Re: find a list of numbers  
>> in a text file
>>
>> On Fri, 9 Sep 2011, Jonathan Wilkes wrote:
>>
>>>> "" = really an empty string (just like the &s_ given by
>> A_DEFSYMBOL, that you nearly can't produce otherwise)
>>>
>>> [symbol(
>>
>> And also if you do $1 inside of a DOLLSYM, you will get a default  
>> empty string,
>> though not separately, because it joins it to another symbol.
>>
>> However, if you write $1$2 as a DOLLSYM and the abstraction has no  
>> arguments,
>> you will produce the empty symbol without using any objects to do  
>> so (other the
>> abstraction that you just made, and the object you are passing this  
>> argument
>> to).
>>
>>> Also, how do you go about converting all the places in the current
>> documentation where comments have quotes in them?
>>
>> I don't know. Very good point. Writing the symbol foo as "foo"
>> with the doublequotes is allowed, but would be canonically  
>> converted to just foo
>> again, because atom_string would figure that it does not benefit  
>> from having the
>> double-quotes...
>>
>> We need a comment type in which the whole comment is a single symbol,
>
> Is there a limit on the size of a symbol?


Yes, I believe its MAXPDSTRING defined in m_pd.h or some other header.

.hc






----------------------------------------------------------------------------

"It is convenient to imagine a power beyond us because that means we  
don't have to examine our own lives.", from "The Idols of  
Environmentalism", by Curtis White







More information about the Pd-list mailing list