[PD-dev] pd.tk question

Ivica Ico Bukvic ico at vt.edu
Thu Oct 29 17:08:18 CET 2009


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





More information about the Pd-dev mailing list