[PD] $ vars again

sme marius.schebella at chello.at
Mon Jun 3 08:21:35 CEST 2002


hi,
makesymbol from zexy, this has some additional features.
sÜme.


----- Original Message -----
From: <eli+ at gs211.sp.cs.cmu.edu>
To: "pd" <pd-list at iem.kug.ac.at>
Sent: Monday, June 03, 2002 4:53 AM
Subject: [PD] $ vars again


> This time I've got a symbol, say "foo", and some numbers, say 3, and
> I'm trying to construct "read foo-3.wav".
>
> Tried "makefilename $1-%d.wav", aiming to plug in the 3 and get
> "$1-3.wav", run that through a "set $1" to a message box -- but
> makefilename sends "\$1-3.wav", and I haven't figured out how to strip
> the backslash off.  If makefilename took "set", or handled lists, or
> didn't add the backslash; or if there were an "add3" that didn't
> inject spaces... but how do people prefer to do this kind of thing?
>
> --
>      Eli Brandt  |  eli+ at cs.cmu.edu  |  http://www.cs.cmu.edu/~eli/
>
>





More information about the Pd-list mailing list