[PD] $ sign removed from message
Chuckk Hubbard
badmuthahubbard at gmail.com
Thu Apr 6 10:07:14 CEST 2006
On 4/5/06, bq <ix at replic.net> wrote:
> On Wed Apr 05, 2006 at 11:48:40AM -0700, david golightly wrote:
> > Wow, this one comes up all the time. $0 doesn't exist in
> > "message"-space. $n in a message means something completely different
> > than $n as a creation argument - this is covered in the first chapter
> > of the help docs. (Now might be a good time to review them.) The
> > standard way to get $0 into a message is to pass it as a message
> > argument, for instance:
>
> yup. it is a crazy dance, turning an instance argument into a message argument
>using the stock object classes.. coupled with the single-substitution limi of
>[makefilename], its amazing how bloated a patch can look just to do some basic
>things. i replaced all my msgboxes with [sprintf]s since they can
easily access
>instance and message arguments, and don't require the $N to come before other
>text in a symbol..
Thanks for this hint.
More information about the Pd-list
mailing list