[PD-dev] % char in external name

Fredrik Olofsson f at fredrikolofsson.com
Sat May 13 17:39:52 CEST 2006


all right!  thanks for that one.
but then, and excuse my ignorance, other non-loaderhex-patched PDs 
still can't run them right?  hm, i'll stick with alphanumeric.
_f

On 12.05.2006, at 19:37, Hans-Christoph Steiner wrote:

>
> Yeah, IOhannes' loaderhex patch makes this possible.  You basically 
> replace the % with the 0xXX hex number of the ASCII value.  Then the 
> function will be something like
>
> setup_f0_0x34(void)
>
> .hc
>
> On May 12, 2006, at 12:03 PM, Fredrik Olofsson wrote:
>
>> hi list,
>> is possible to name an external f0_% and have pd load it?  as this of 
>> course the setup method isn't found...
>>
>> void f0_fmod_setup(void) {
>> 	this_class= class_new(gensym("f0_%"), (t_newmethod)f0_fmod_new, 0, 
>> sizeof(x_f0_fmod), 0, A_DEFFLOAT, 0);
>>
>> is there something like aliases or object mappings?
>>
>> also had problems with a dots in my names.  so for namespace which is 
>> the preferred char: f0_asdf or f0-asdf?
>>
>> and last a sort of related canvas crash method.  name it something 
>> with %, close properties window and then try to edit it again.
>> #N canvas 0 22 454 304 10;
>> #X obj 115 95 cnv 15 100 60 empty empty boom% 20 12 0 14 -233017 
>> -66577
>> 0;
>>
>>
>> guess i should name my externals something simple,
>> _fredrik (pd 0.39-2, os X.3.9)


   #|
      fredrikolofsson.com     klippav.org     musicalfieldsforever.com
   |#





More information about the Pd-dev mailing list