Le mardi 02 mars 2010 à 22:47 -0800, Jonathan Wilkes a écrit :
--- On Wed, 3/3/10, Jack jack@rybn.org wrote:
From: Jack jack@rybn.org Subject: Re: [PD] integer values To: "Jonathan Wilkes" jancsika@yahoo.com Cc: pd-list@iem.at, "volker böhm" vboehm@gmx.ch Date: Wednesday, March 3, 2010, 2:16 AM There is a very small error in the patch : [s linked_array] -> [s linked_garray]. However, this is a nice example. I'm working on data structures (for automations) and it would be nice to have a 'return' from [struct] (or something like that, but i don't know what :) when you modify an array of scalars (with mouse) without [metro] to update some values (like in your patch with the array 'linked_garray', but without a [metro] to update). Hope what i mean is enough clear ? ++
Jack
Thanks for finding the error-- I must have forgotten to save after I made that needless change.
So which [struct] would the message come out of when modifying an element of an array-- the [struct] that defines the array or the [struct] that defines the element being modified?
I don't know, that's why i ask ;) When you modify the size of a polygon, [struct] return a message. Why is it not possible with a [struct] that defines the array ?
If it's the [struct] that defines the array, then how do you specify which array and which index number of the thing that's getting moved?
Just receive a message there is an update of the array ? This is not possible at all ? ++
Jack
If it's the [struct] of the element being modified, I suppose the same question applies.
Also, how do you do it in a way that handles nested arrays gracefully?
-Jonathan