Hey Ivica,
Just make it a global, that's the easiest. Or use namespaces and
namespace variables.
.hc
On Oct 29, 2009, at 12:08 PM, Ivica Ico Bukvic wrote:
Hi all,
Is there a way to declare a variable within a proc scope so that it
can
be referenced later externally? e.g. having $name.something in
pdtk_canvas_new linked to a widget can be easily referenced later from
another function (e.g. this is how scrollbars work). However if I want
to declare a generic variable that is linked to the same scope (e.g.
set
$name.somevar 1), I cannot figure out how to reference this thing back
from a different scope.
Any ideas?
Best wishes,
Ico
_______________________________________________
Pd-dev mailing list
Pd-dev@iem.at
http://lists.puredata.info/listinfo/pd-dev
----------------------------------------------------------------------------
Looking at things from a more basic level, you can come up with a more
direct solution... It may sound small in theory, but it in practice,
it can change entire economies. - Amy Smith
_______________________________________________
Pd-dev mailing list
Pd-dev@iem.at
http://lists.puredata.info/listinfo/pd-dev