[PD] Pd-extended can't see $0-arrays ???
Jonathan Wilkes
jancsika at yahoo.com
Tue Feb 14 05:07:30 CET 2012
----- Original Message -----
> From: Mathieu Bouchard <matju at artengine.ca>
> To: Фывапр Олджэвич <tofuckof at inbox.ru>
> Cc: PD-list <pd-list at iem.at>
> Sent: Monday, February 13, 2012 10:38 PM
> Subject: Re: [PD] Pd-extended can't see $0-arrays ???
>
> Le 2012-02-14 à 07:33:00, Фывапр Олджэвич a écrit :
>
>> Why can't I create Arrays with names like " $0-tab " ?
>
> $0 has no effect in messageboxes. You need to generate it using a float box such
> as [f $0] or even just [$0].
>
> Yes, this is a quite annoying shortcoming of Pd... especially because if you
> already are passing something to the messagebox, you have to add a [pack] and a
> [loadbang].
Do gpointers only point to scalars? Because if you _could_ get a pointer to an array--
perhaps using my canvas 'get' method patch-- you could just make all arrays canvas
local and forget all this $0- business:
So to [tabread] the array named 'foo' in the parent canvas:
[get array( <- get a list of "arrayName pointerToArray" pairs for the canvas
|
[sendtocanvas 1]
|
[route foo]
|
[set $1(
|
[tabread]
-Jonathan
>
> ______________________________________________________________________
> | Mathieu BOUCHARD ----- téléphone : +1.514.383.3801 ----- Montréal, QC
> _______________________________________________
> Pd-list at iem.at mailing list
> UNSUBSCRIBE and account-management ->
> http://lists.puredata.info/listinfo/pd-list
>
More information about the Pd-list
mailing list