[PD] not resolving dollar in arguments : is it possible ?

IOhannes m zmoelnig zmoelnig at iem.at
Tue Jun 19 15:54:53 CEST 2018


On 2018-06-19 15:45, IOhannes m zmoelnig wrote:
> so eventually, i could be talked into implementing support for setting
> (unescaped and escaped) and getting (unexpanded and expanded) $args for
> [canvasargs].
> mainly i'll have to find a nice API to expose that functionality on the
> patch level.

doh.

actually, i've already implemented getting the expanded and unexpanded
$args after a bug reported by liam [7].

so i only need a nice way to be able to set $args.

probably the default (list) message, should unescape any dollars before
saving them (so a [list $ 0(->[list $1$2(->[canvasargs] would set the
first argument to be a $0 (the $zero from the parent patch), and an
expanded "raw" message would save the escapes (so [list $ 0(->[raw
$1$2(->[canvasargs] would actually become [myabs \$0].

i also think that any $arg returned should be a proper symbol, rather
than an A_DOLLSYM or simile.

sorry for all the noise.
gfmasdr
IOhannes


[7] https://github.com/iem-projects/pd-iemguts/issues/7

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: OpenPGP digital signature
URL: <http://lists.puredata.info/pipermail/pd-list/attachments/20180619/506d16dd/attachment.sig>


More information about the Pd-list mailing list