[PD] Getsize for regular arrays

Mathieu Bouchard matju at artengine.ca
Fri Dec 22 02:07:52 CET 2006


On Wed, 20 Dec 2006, saint wrote:

> i'm wondering if there's a way to use the getsize object to return the 
> size of a regular array?

[getsize] is reserved to arrays that are elements of struct. It can't do 
it if the array is not an element of a struct. It's _that_ specific... as 
far as I know.

> now that regular arrays and data structures are more
> integrated...

it's not a matter of how much they're integrated, it has to do with the 
level of nesting. e.g. with [getsize] you can find the size of an array 
that is inside of an array, but you can't get the size of an array itself.

But I'd like Frank to confirm me that.

  _ _ __ ___ _____ ________ _____________ _____________________ ...
| Mathieu Bouchard - tél:+1.514.383.3801 - http://artengine.ca/matju
| Freelance Digital Arts Engineer, Montréal QC Canada


More information about the Pd-list mailing list