[PD] abstraction setting its own arguments

Jonathan Wilkes jancsika at yahoo.com
Wed Jul 28 23:35:31 CEST 2010



--- On Wed, 7/28/10, Mathieu Bouchard <matju at artengine.ca> wrote:

> From: Mathieu Bouchard <matju at artengine.ca>
> Subject: Re: [PD] abstraction setting its own arguments
> To: "Jonathan Wilkes" <jancsika at yahoo.com>
> Cc: pd-list at iem.at
> Date: Wednesday, July 28, 2010, 10:46 PM
> On Wed, 28 Jul 2010, Mathieu Bouchard
> wrote:
> 
> > Now I have two more questions :
> > 
> >  1. how do I make the dollsym "$0-something-$1"
> in a messagebox ?
> >     it seems like I just can't.
> 
> (I mean using messagebox-edition commands like adddollsym)
> 
> Also,
> 
>   3. how do I make the dollsym "something-$1" in a
> messagebox ?
>      it seems like I just can't.
> 

Ugly hack: you could dynamically patch the following to get $1-$2:

[2(
|
[adddollsym 1-$$1(
|
[ (

You have to dynamically patch because saving [$1-$$1( will give you 
[$1-$\$1( the next time you load the patch.

I guess "adddollsym" was designed at a time when you could only put the 
dollarsign variable at the front of a dollsym.

-Jonathan


> >  2. how is one supposed to handle receive-symbols
> and send-symbols the
> >     way floatbox, symbolbox and
> IEMGUI do, with $ in them ?
> >     I need something to read the
> "raw args", before $-substitution.
> 
>  _ _ __ ___ _____ ________ _____________
> _____________________ ...
> | Mathieu Bouchard, Montréal, Québec. téléphone:
> +1.514.383.3801


      



More information about the Pd-list mailing list