[PD] store value of any type

Miller Puckette msp at ucsd.edu
Thu Jul 4 22:07:27 CEST 2013

If it's just local, the "list" object will do it (floats and symbols are
just one-element lists).

If you want something that (like 'value') can be accessed by name or
pointer elsewhere in the patch, you might want the "text" object (in git
repo, upcoming for version 0.45).  If you're insteested in trying it and
don't want to compile your own write back and I can put out a "test" release -
there's a bunch still to do but it seems to be working OK.


On Thu, Jul 04, 2013 at 09:50:46PM +0200, yvan volochine wrote:
> hi all,
> I'd like to store a value which can be of any type but I don't
> remember if that's even possible.. something like [value foo] but
> that would work for integer, list, or anything else like for [foo
> bar 123(
> is there a vanilla object for that?
> cheers,
> y
> -- 
> http://yvanvolochine.com
> http://soundcloud.com/yvanvolochine
> http://soundcloud.com/elgusanorojo
> http://vimeo.com/yv
> _______________________________________________
> 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