[PD] keycode dropped/use of curly braces

IOhannes m zmoelnig zmoelnig at iem.at
Mon Sep 3 17:44:57 CEST 2012


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On 2012-09-03 16:59, Paul Gruendorfer wrote:
> hi, thanks for your reply - but that locks up pd.

it only locks Pd if you are printing the character via pd-gui (either
print to console or via a symbolbox)
that's also the reason why it is prohibited to type curly braces in Pd.

the quick fix is to trust that curly braces are created with the
[makefilename] trick and don't display them (and if you must, use
"-stderr" and print them to...stderr)

> seems that there are reserved characters pd uses itself  (got this
> from the makefilename help) anyhow I can live with that:) was just
> wondering what is happening

curly braces are reserved in tcl (the language pd-gui is written in).
displaying a "{" will make pd-gui wait for a matching "}", and while
it does so, it will hang.

fgamsdr
IOhannes
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.12 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iEYEARECAAYFAlBE0HYACgkQkX2Xpv6ydvR6pgCfaNR0zzMmsTW/4cgjVln970pG
mCoAnR2zCt6/ChErp39HCwdDzD9KTaXv
=q776
-----END PGP SIGNATURE-----

-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 2320 bytes
Desc: S/MIME Cryptographic Signature
URL: <http://lists.puredata.info/pipermail/pd-list/attachments/20120903/2fc4d2a6/attachment.bin>


More information about the Pd-list mailing list