hi,
sorry for my bothering, I really don't know, what I am doing wrong.
I simply copied the array example from the help-files, changed some names and for any reason the array in my data-field is not drawn correctly anymore :(
I expected it to look about the same as in the example patch, but is is simply a line, and I also cannot draw the elements.
maybe someone can help me, because I do not see, what I am doing wrong - I am sure, it is only a stupid mistake...
thanks!
marius.
#N struct template6 float id float IP1 float IP2 float nix array times1
template6-element;
#N struct template6-element float t;
#N canvas 350 165 450 300 10;
#X text -15 325 unterscheide struktur und inhalt!;
#X text -15 343 Inhalt ist im data subpatch;
#X text -15 363 Struktur in template1 und page elements;
#X text 32 444 jedesmal append...?;
#N canvas 0 0 956 300 data6 0;
#X scalar template6 50 150 30 9 \; 0 \; 0 \; 0 \; 0 \; 0 \; 3 \; 0
\; 0 \; 0 \; 7 \; -30 \; 0 \; 0 \; 0 \; 0 \; 0 \; 0 \; 0 \; 0 \; 0
\; 0 \; 0 \; 0 \; 0 \; 0 \; 0 \; 0 \; 0 \; 0 \; 0 \; 0 \; 0 \; 0 \;
0 \; 0 \; 0 \; 0 \; 0 \; 0 \; 0 \; 0 \; 0 \; 0 \; 0 \; 0 \; 43 \; 0
\; 0 \; 0 \; 0 \; \;;
#X restore 83 140 pd data6;
#N canvas 435 84 589 429 stuff 0;
#X obj 395 157 pointer;
#X obj 136 102 t b b b;
#X msg 136 61 bang;
#X text 170 61 click here to re-initialize;
#X msg 283 280 50;
#X obj 137 23 loadbang;
#X msg 134 140 50 150 30 9;
#X obj 134 191 t b b p;
#X floatatom 68 327 0 0 0 0 - - -;
#X floatatom 14 332 0 0 0 0 - - -;
#X obj 20 303 unpack;
#X msg 12 258 3 5 \, 7 9 \, -30 10 \, 43 45;
#X msg 395 134 traverse pd-data6 \, bang;
#X msg 395 94 \; pd-data6 clear;
#X obj 134 163 append template6 id IP1 IP2 nix;
#X obj 284 307 setsize template6 times1;
#X obj 68 350 element template6 times1;
#X obj 14 376 set template6-element t;
#X connect 0 0 14 4;
#X connect 1 0 6 0;
#X connect 1 1 12 0;
#X connect 1 2 13 0;
#X connect 2 0 1 0;
#X connect 4 0 15 0;
#X connect 5 0 2 0;
#X connect 6 0 14 0;
#X connect 7 0 11 0;
#X connect 7 1 4 0;
#X connect 7 2 15 1;
#X connect 7 2 16 1;
#X connect 8 0 16 0;
#X connect 9 0 17 0;
#X connect 10 0 9 0;
#X connect 10 1 8 0;
#X connect 11 0 10 0;
#X connect 12 0 0 0;
#X connect 14 0 7 0;
#X connect 16 0 17 1;
#X restore 275 129 pd stuff;
#N canvas 182 49 577 300 template6 0;
#X obj 37 45 struct template6 float id float IP1 float IP2 float nix
array times1 template6-element;
#X obj 38 118 plot times1 700 3 30 40 4;
#X obj 36 89 filledpolygon 244 id 3 0 0 20 IP1 40 0;
#X restore 83 171 pd template6;
#N canvas 0 0 417 254 template6-element 0;
#X obj 45 72 struct template6-element float t;
#X restore 84 206 pd template6-element;