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
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.
cheers M
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@iem.at mailing list UNSUBSCRIBE and account-management -> http://lists.puredata.info/listinfo/pd-list
hi Miller,
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.
I want it to be accessed by pointer somewhere else so I guess I'll give [text] a try..
thanks! y
ps: pd would not build from master like 5 days ago on my machine (up-to-date archlinux) but I didn't folow recent commits so maybe that's fixed already..
It might be fixed. I use "make -f makefile.gnu" from pd/src to avoice all the automake horror, and so had allowed the automake to get out of sync witht he source - Iohannes patched that so things migth be back to normal with automake too by now.
cheers M
On Thu, Jul 04, 2013 at 10:08:36PM +0200, yvan volochine wrote:
hi Miller,
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.
I want it to be accessed by pointer somewhere else so I guess I'll give [text] a try..
thanks! y
ps: pd would not build from master like 5 days ago on my machine (up-to-date archlinux) but I didn't folow recent commits so maybe that's fixed already..
-- http://yvanvolochine.com http://soundcloud.com/yvanvolochine http://soundcloud.com/elgusanorojo http://vimeo.com/yv
Pd-list@iem.at mailing list UNSUBSCRIBE and account-management -> http://lists.puredata.info/listinfo/pd-list
On 04/07/13 22:23, Miller Puckette wrote:
It might be fixed. I use "make -f makefile.gnu" from pd/src to avoice all the automake horror, and so had allowed the automake to get out of sync witht he source - Iohannes patched that so things migth be back to normal with automake too by now.
it's still broken for me but I managed to build with the "old-school-way(TM)" :)
it seems that [text] help file is missing though..
would you mind giving me a quick howto
for that object?
cheers, y
Hi,
On 04/07/13 21:50, yvan volochine wrote:
hi all,
I'd like to store a value
Does that mean only within the scope of your "session" (then [list] should do..), or even through patch opening/closing? In this second case some message manipulation trickery with [set( and [add2( could work depending on your scenario...
Lorenzo.
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
On 04/07/13 22:13, Lorenzo Sutton wrote:
Does that mean only within the scope of your "session" (then [list] should do..), or even through patch opening/closing?
yep [list] is the way to go..
thanks! y