[PD] number to symbol

B. Bogart ben at ekran.org
Thu Nov 10 20:02:49 CET 2005


The same as the difference between:

printf("Integer: %d", 12);

and

printf("Integer: %c", 12);

One represents "32" as a decimal "32"

The second represents "32" as a character (ASCII code) " " [space]

b.

> What is the difference between [makefilename %d] and [makefilename %c] ??
> ::Brad.
>
> On 11/9/05, IOhannes m zmoelnig <zmoelnig at iem.at> wrote:
>>
>> B. Bogart wrote:
>> > What do you mean?
>> >
>> > float 12 -> symbol 12 ?
>> >
>> > Or do you mean the ASCII table value "32" turns into " " [space] ?
>> >
>> > For the former check out [makesymbol], [tosymbol] and [makefilename]
>>
>> just for completeness: [makefilename %d]
>>
>> >
>> > For the latter check out Marc Lavallee's [ascii2any]
>> >
>>
>> or - if you prefer built-ins like me- use [makefilename %c]
>>
>> mfg.asd.r
>> IOhannes
>>
>> _______________________________________________
>> PD-list at iem.at mailing list
>> UNSUBSCRIBE and account-management ->
>> http://lists.puredata.info/listinfo/pd-list
>>
> _______________________________________________
> PD-list at iem.at mailing list
> UNSUBSCRIBE and account-management ->
> http://lists.puredata.info/listinfo/pd-list
>






More information about the Pd-list mailing list