[PD] curly braces { } in pd ?

Hans-Christoph Steiner hans at at.or.at
Fri Jul 10 16:55:01 CEST 2009


On Jul 10, 2009, at 6:09 AM, IOhannes m zmoelnig wrote:

> glerm soares wrote:
>> hello
>> I am trying to write a message in pd with a curly braces {  } to  
>> build some
>> lilypond syntax but
>> I got the message " keycode 123: dropped"
>> and the { don't print..
>
> unfortunately Pd's quoting mechanism is somewhat broken, therefore  
> you basically cannot use any curly braces.
> (for user input, Pd tries to prevent you from entering these  
> illglyphs, thus you get the "keycode 123: dropped" message; however,  
> using other techniques like [makefilename] or [bytes2any] you can  
> bypass this safety net)

This should be possible to fix, and its one of the goals with the pd- 
devel effort.  Now that the GUI side is pure Tcl, that should make the  
quoting issue easier to address.

.hc


>
>
>> if I try to convert byte to string with [bytes2any] pd freezes...
>
>
> i guess this is not quite true.
> [bytes2any] should work just fine, only if you try to display the  
> result in one or any way, the pd-gui will freeze.
>
> fmgasrd
> IOhannes
> _______________________________________________
> Pd-list at iem.at mailing list
> UNSUBSCRIBE and account-management -> http://lists.puredata.info/listinfo/pd-list



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

Terrorism is not an enemy.  It cannot be defeated.  It's a tactic.   
It's about as sensible to say we declare war on night attacks and  
expect we're going to win that war.  We're not going to win the war on  
terrorism.        - retired U.S. Army general, William Odom






More information about the Pd-list mailing list