<html><head></head><body><div style="color:#000; background-color:#fff; font-family:HelveticaNeue, Helvetica Neue, Helvetica, Arial, Lucida Grande, sans-serif;font-size:16px"><div id="yui_3_16_0_1_1444829222542_4217">matju already wrote a class to put console posts inside the <br></div><div id="yui_3_16_0_1_1444829222542_4216">patch for the user to handle:</div><div id="yui_3_16_0_1_1444829222542_4293"><br></div><div id="yui_3_16_0_1_1444829222542_4215"><a id="yui_3_16_0_1_1444829222542_4291" href="http://artengine.ca/desiredata/gallery/unpost.gif">http://artengine.ca/desiredata/gallery/unpost.gif</a></div><div id="yui_3_16_0_1_1444829222542_4482"><br></div><div dir="ltr" id="yui_3_16_0_1_1444829222542_4658">If people don't like that design, I'd love to see the code that <br></div><div id="yui_3_16_0_1_1444829222542_4762" dir="ltr">shows a better way to handle errors from within the patch.</div><div id="yui_3_16_0_1_1444829222542_4804" dir="ltr"><br></div><div id="yui_3_16_0_1_1444829222542_4842" dir="ltr">However, I don't think you need (or should encourage) <br></div><div id="yui_3_16_0_1_1444829222542_4843" dir="ltr">error-handling inside a patch just to check whether a file <br></div><div id="yui_3_16_0_1_1444829222542_4844" dir="ltr">exists.  There are already externals for that, too.<br> </div><div id="yui_3_16_0_1_1444829222542_4845"><br></div><div id="yui_3_16_0_1_1444829222542_4656">-Jonathan<br></div><div id="yui_3_16_0_1_1444829222542_3868"><span></span></div>  <br><div class="qtdSeparateBR"><br><br></div><div style="display: block;" class="yahoo_quoted"> <div style="font-family: HelveticaNeue, Helvetica Neue, Helvetica, Arial, Lucida Grande, sans-serif; font-size: 16px;"> <div style="font-family: HelveticaNeue, Helvetica Neue, Helvetica, Arial, Lucida Grande, sans-serif; font-size: 16px;"> <div dir="ltr"> <font face="Arial" size="2"> On Wednesday, October 14, 2015 6:14 AM, IOhannes m zmoelnig <zmoelnig@iem.at> wrote:<br> </font> </div>  <br><br> <div class="y_msg_container">On 2015-10-14 12:07, IOhannes m zmoelnig wrote:<br clear="none">> On 2015-10-14 09:34, Roman Haefeli wrote:<br clear="none">>> I don't see why [textfile] shouldn't report that to the patch instead of<br clear="none">>> the console. <br clear="none">> <br clear="none">> because it would require a lot of code to be added to all use-cases of<br clear="none">> [ŧextfile] in order to not break the feedback where it is indeed desired<br clear="none">> and needed.<br clear="none"><br clear="none">this should have read:<br clear="none">"because it would require code to be added to all uses of [ŧextfile]<br clear="none">where the error is indeed desired and needed."<div class="yqt0606329429" id="yqtfd21698"><br clear="none"><br clear="none">> <br clear="none">> this *could* be done in a way satisfying to both, if Pd had some kind of<br clear="none">> exception handling.<br clear="none">> however, it doesn't.<br clear="none">> <br clear="none">> <br clear="none">> fgamsdr<br clear="none">> IOhannes<br clear="none">> <br clear="none">> <br clear="none">> <br clear="none">> _______________________________________________<br clear="none">> <a shape="rect" ymailto="mailto:Pd-list@lists.iem.at" href="mailto:Pd-list@lists.iem.at">Pd-list@lists.iem.at</a> mailing list<br clear="none">> UNSUBSCRIBE and account-management -> <a shape="rect" href="http://lists.puredata.info/listinfo/pd-list" target="_blank">http://lists.puredata.info/listinfo/pd-list</a><br clear="none">> <br clear="none"><br clear="none"></div><br><div class="yqt0606329429" id="yqtfd73215">_______________________________________________<br clear="none"><a shape="rect" ymailto="mailto:Pd-list@lists.iem.at" href="mailto:Pd-list@lists.iem.at">Pd-list@lists.iem.at</a> mailing list<br clear="none">UNSUBSCRIBE and account-management -> <a shape="rect" href="http://lists.puredata.info/listinfo/pd-list" target="_blank">http://lists.puredata.info/listinfo/pd-list</a><br clear="none"></div><br><br></div>  </div> </div>  </div></div></body></html>