We are about to switch to a new forum software. Until then we have removed the registration on this forum.
I've made some pretty nice 2d arrays, but I found some problems with it while trying to save the number pattern to text. I either got nothing or an error, or a messy text file with numbers and nulls mixed up in it. I think the most problematic thing is the join() command, and the fact that I can't tell it which array slot i'm interested in while joining them. All in all, I'm kinda stuck and this path might not be the right one, but here it is what I was trying to do (help is very appreciated):
short i=1;short j=0;
for(i=1 ;i<24; i++) {
for(j=0 ;j<35; j++) {
pieceData[i][j] = str(patternXY[i][j]);
}
mainData[i] = join(pieceData[i],",");
}
saveStrings("data/text"+001+".txt" , mainData);
Answers
Not tested. This is just an idea.
Kf