[PD] Multi-dimensional arrays
Andrew Faraday
jbturgid at hotmail.com
Sat Jan 29 13:09:53 CET 2011
I havn't tried store, but you can always use multiple arrays with the same index, IE
(arrays) pos-X, pos-Y, pos-Z
[counter]
| \ \[tabread pos-X] [tabread pos-Y] [tabread pos-Z]
I know that ascii hasn't come across very well, but it basically translates to multiple dimentions called up by the same index
Date: Fri, 28 Jan 2011 13:20:41 -0500
From: matju at artengine.ca
To: lists at liminastudio.com
CC: pd-list at iem.at
Subject: Re: [PD] Multi-dimensional arrays
On Fri, 28 Jan 2011, Tedb0t wrote:
> I know this is one of those perennial questions that must come up
> regularly, but I simply cannot figure it out. What's a good way to
> store data in a 3-dimensional array?
[#store] supports 3-dimensional arrays, as well as 2-dimensional,
1-dimensional, 0-dimensional, 4-dimensional, 5-dimensional... apparently
it can support up to 14-dimensional, but I never tried.
It's not arrays in exactly the same sense as in the base of pd, though.
http://gridflow.ca/
_______________________________________________________________________
| Mathieu Bouchard ---- tél: +1.514.383.3801 ---- Villeray, Montréal, QC
_______________________________________________
Pd-list at iem.at mailing list
UNSUBSCRIBE and account-management -> http://lists.puredata.info/listinfo/pd-list
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.puredata.info/pipermail/pd-list/attachments/20110129/e47365fe/attachment.htm>
More information about the Pd-list
mailing list