Hi all,
this one's for IOhannes, (hey :D)
The msgfile bug I found was this: When you do a [goto $1 ( followed by a
[replace $1 ( message to an empty msgfile, PD crashes. Obviously it's trying to
modify data that doesn't exist, but it would be nice to have an exception
handler for this.
Of course, if you fill the msgfile with lines it won't happen, and if PD
doesn't crash you'll never know the replace didn't work. Perhaps it could fill
all empty lines up to the one you're trying to replace with 0s?
Or perhaps it could just not crash PD ;)
Here's a patch...
Ed
Lone Shark "Aviation" out now on http://www.pyramidtransmissions.com
http://www.myspace.com/sharktracks
---------------------------------
Yahoo! Answers - Get better answers from someone who knows. Tryit now.#N canvas 0 0 454 304 10;
#X obj 128 127 msgfile;
#X msg 183 88 goto 12;
#X msg 83 88 replace crash;
#X obj 132 60 t b b;
#X obj 132 27 bng 15 250 50 0 empty empty empty 0 -6 0 10 -262144 -1
-1;
#X text 153 25 bang to crash PD;
#X connect 1 0 0 0;
#X connect 2 0 0 0;
#X connect 3 0 2 0;
#X connect 3 1 1 0;
#X connect 4 0 3 0;
_______________________________________________
[email protected] mailing list
UNSUBSCRIBE and account-management ->
http://lists.puredata.info/listinfo/pd-list