----- Original Message -----
From: Mathieu Bouchard matju@artengine.ca To: Фывапр Олджэвич tofuckof@inbox.ru Cc: PD-list pd-list@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@iem.at mailing list UNSUBSCRIBE and account-management -> http://lists.puredata.info/listinfo/pd-list