hallo,
i would like to know if its possible to create a sub-patch whith arrays, where the arrays work as local arrays, not as globals? is it possible to create local arrays in sub-pathes like variables with the $0 syntax?
thanks, alex
Use the table element, using $0 before the array name (ie $0_sample_data).
kruhft
On 2002.06.03 12:11 Atuc wrote:
hallo,
i would like to know if its possible to create a sub-patch whith arrays, where the arrays work as local arrays, not as globals? is it possible to create local arrays in sub-pathes like variables with the $0 syntax?
thanks, alex
At 22:45 03.06.2002, you wrote:
Use the table element, using $0 before the array name (ie $0_sample_data).
ok, thanks for reply, i tryed to change the name of the array to $0_sample_data in my abstractions-subpatch but the array object does not store the dollar sign, after closing an reopening the $ is missing?
any idea whats wrong?
thanks, alex
kruhft
On 2002.06.03 12:11 Atuc wrote:
hallo, i would like to know if its possible to create a sub-patch whith arrays, where the arrays work as local arrays, not as globals? is it possible to create local arrays in sub-pathes like variables with the $0 syntax? thanks, alex
you have to use the table like this:
[table $0_sample_data]
that will create and name the array for you...you can't put the $0 in the actual array properties dialog. you can then use that array name for whatever you would use a normal array for (ie. [tabread4~ $0_sample_data] )
kruhft
On 2002.06.03 15:30 Atuc wrote:
At 22:45 03.06.2002, you wrote:
Use the table element, using $0 before the array name (ie $0_sample_data).
ok, thanks for reply, i tryed to change the name of the array to $0_sample_data in my abstractions-subpatch but the array object does not store the dollar sign, after closing an reopening the $ is missing?
any idea whats wrong?
thanks, alex
kruhft
On 2002.06.03 12:11 Atuc wrote:
hallo, i would like to know if its possible to create a sub-patch whith arrays, where the arrays work as local arrays, not as globals? is it possible to create local arrays in sub-pathes like variables with the $0 syntax? thanks, alex
hi all,
a new (but for whatever reason not publicized) feature of test24 release of Pd 0.35 is that regular arrays can be made local by placing $ in front of their names -- in just the same way as you are used to make any other object parametrized.
Krzysztof
Burton Samograd wrote:
you have to use the table like this:
[table $0_sample_data]
that will create and name the array for you...you can't put the $0 in the actual array properties dialog. you can then use that array name for whatever you would use a normal array for (ie. [tabread4~ $0_sample_data] )
...
On 2002.06.03 12:11 Atuc wrote:
...
i would like to know if its possible to create a sub-patch whith arrays, where the arrays work as local arrays, not as globals? is it possible to create local arrays in sub-pathes like variables with the $0 syntax?
At 13:22 04.06.2002, you wrote:
hi all,
a new (but for whatever reason not publicized) feature of test24 release of Pd 0.35 is that regular arrays can be made local by placing $ in front of their names -- in just the same way as you are used to make any other object parametrized.
Krzysztof
great!! it works directly with the test24 version, thanks, alex