[PD] Dynamic generation of $0-including objects?

Alexandre Quessy listes at sourcelibre.com
Thu Feb 8 05:34:32 CET 2007


Yes. Either use [f $0], or a [makefilename %s-%s] or [makesymbol
%s-%s] with a [f $0] as argument. I think that [makesymbol] is
supposed to be deprecated, but I prefer its behaviour to the one of
[makefilename], and its name is clearer.

-- 
Alexandre Quessy
http://alexandre.quessy.net


2007/2/7, Luke Iannini (pd) <lukexipd at gmail.com>:
> I'm trying to generate objects within a subpatch using [obj( messages,
> and I want those generated objects to have $0 as one of their
> arguments, e.g. [myobject $0].  Using [obj x y myobject $0( gives
> [myobject 0] (I know $0 is not for messages, just thought I'd give
> that a try), and of course [list append $0] to the object message just
> adds the interpreted $0 of the parent patch.  I'd like to preserve the
> "$0".  Anyone know of a way to do it?
>
> _______________________________________________
> PD-list at iem.at mailing list
> UNSUBSCRIBE and account-management -> http://lists.puredata.info/listinfo/pd-list
>




More information about the Pd-list mailing list