[PD] using $0
Christopher Charles
schraubzwingenhalterung at web.de
Thu Aug 4 17:36:39 CEST 2005
alexandre matheson wrote:
> hello,
>
> how do I use names beginning with $0- in a message box without getting
> errors?
>
> thanks,
>
> alex
>
hi.
if you want to address a $0-variable from within a message box, you will
have to use the $0 as an argument for the message box. for example:
the $0 var is passed as the 2nd argument here
[nbx]
|
[pack f $0]
|
[; $2-foo $1( -> $2 becomes $0 (or whatever number it is assigned to)
does the same as
[nbx]
|
[s $0-foo]
hope that helps.
mfg
charlie
More information about the Pd-list
mailing list