[PD] local arrays again...
mis at music.mcgill.ca
Tue Aug 14 16:37:31 CEST 2001
You cannot have 2 arrays of the same name on loaded patchers. If you intend
to use the same table contents for several different operations use one
table (array) and refer to it from your abstractions. If your abstractions
with table "foo" are supposed fill their respective tables with different
values then you need give them different names. The best way to make sure
that you have no duplicate names in your tables within abstraction is to
make your table have a variable name that you set with arguments to your
patcher.... Is that clear enough? I just got up not too long ago and I'm
still on my first coffee.
"To be is to do" - Socrates
"To do is to be" - Sartre
"Do be do be do" - Sinatra
"Just do it!" - NIKE
"It" - Stephen King
On 8/13/01 8:55 PM, "Nicolas Lhommet" <nlhommet at netcourrier.com> wrote:
> I got a patch that contains and uses an array called "foo". If i want to use
> several abstractions of it in an other patch, i can't do it because foo is
> then mulitply defined.
> Any solutions better than passing a different name for this array to the
> different abstractions ?
> This has been discussed here already, but I still don't know how (or if) I
> can get really local arrays.
More information about the Pd-list