i just need a for-loop, counting from zero to 1000 and my patch below doesnt work. i get only the message "error: stack overflow" and the counter is just at 343.
the only way i could create a counter was with the help of the object "metro" but the fastest clock ist only 1ms and i need it faster.
Who can help me to find a way out of this problem.
thanks Raia Cartos
#N canvas 139 64 454 304 12; #X msg 49 37 bang; #X text 96 36 <--- click here to start; #X obj 108 119 + 1; #X obj 49 118 float; #X msg 49 77 0; #X floatatom 108 183 0 0 0 0 - - -; #X obj 174 118 moses 500; #X connect 0 0 4 0; #X connect 2 0 5 0; #X connect 2 0 6 0; #X connect 3 0 2 0; #X connect 4 0 3 0; #X connect 6 0 3 0;
look in the help patch of the [until] object ...
Raia Cartos schrieb:
i just need a for-loop, counting from zero to 1000 and my patch below doesnt work. i get only the message "error: stack overflow" and the counter is just at 343.
the only way i could create a counter was with the help of the object "metro" but the fastest clock ist only 1ms and i need it faster.
Who can help me to find a way out of this problem.
thanks Raia Cartos
#N canvas 139 64 454 304 12; #X msg 49 37 bang; #X text 96 36 <--- click here to start; #X obj 108 119 + 1; #X obj 49 118 float; #X msg 49 77 0; #X floatatom 108 183 0 0 0 0 - - -; #X obj 174 118 moses 500; #X connect 0 0 4 0; #X connect 2 0 5 0; #X connect 2 0 6 0; #X connect 3 0 2 0; #X connect 4 0 3 0; #X connect 6 0 3 0;
PD-list@iem.at mailing list UNSUBSCRIBE and account-management -> http://lists.puredata.info/listinfo/pd-list
hi all
funny, on my system (winxp, pd0.37) i get the stack overflow-msg exactly at 7567. does it depend on the cpu? (the faster the later the message?)
besides that, a little tip, raia: when it works, remove the numberbox below, since it uses much cpu-time, when sending so many numbers to it.
roman
"Tebjan Halm" wrote:
look in the help patch of the [until] object ...
Raia Cartos schrieb:
i just need a for-loop, counting from zero to 1000 and my patch below
doesnt
work. i get only the message "error: stack overflow" and the counter is
just at
the only way i could create a counter was with the help of the object "metro" but the fastest clock ist only 1ms and i need it faster.
Who can help me to find a way out of this problem.
thanks Raia Cartos
#N canvas 139 64 454 304 12; #X msg 49 37 bang; #X text 96 36 <--- click here to start; #X obj 108 119 + 1; #X obj 49 118 float; #X msg 49 77 0; #X floatatom 108 183 0 0 0 0 - - -; #X obj 174 118 moses 500; #X connect 0 0 4 0; #X connect 2 0 5 0; #X connect 2 0 6 0; #X connect 3 0 2 0; #X connect 4 0 3 0; #X connect 6 0 3 0;
___________________________________________________________ Gesendet von Yahoo! Mail - Jetzt mit 1GB Speicher kostenlos - Hier anmelden: http://mail.yahoo.de
funny, on my system (winxp, pd0.37) i get the stack overflow-msg exactly at 7567. does it depend on the cpu? (the faster the later the message?)
miller is watching the stack pointer, devel is counting iterations in devel...
so in miller's implementation it depends on what kind of objects you use to produce the stack overflow (iirc, the stack is hardcoded to 1mb), in devel, only maximum depth can be reached (iirc hardcoded to 1000)
t
i just need a for-loop, counting from zero to 1000 and my patch below doesnt work. i get only the message "error: stack overflow" and the counter is just at 343.
|until|?
t