<div dir="ltr">Thank you Iohannes for your answer.<div><br></div><div>I have me too several doubts about the way I wrote it and in general if there is a "good" way to implement this feature.</div><div>About your questions, it works with -noloadbang mode and in subpatch. If I put a [loadbang] with the same delay than the [loadmess] clock [loadmess] arrives first.</div><div><br></div><div>Anyway, actually I don't think to make public this code because I'm not convince about it.</div><div>Thank you again.</div><div><br></div><div>Best regards.</div></div><div class="gmail_extra"><br><div class="gmail_quote">2016-03-31 14:52 GMT+02:00 IOhannes m zmoelnig <span dir="ltr"><<a href="mailto:zmoelnig@iem.at" target="_blank">zmoelnig@iem.at</a>></span>:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><span class="">On 2016-03-31 12:32, Marco Matteo Markidis wrote:<br>
> So, it is not the best programming practice but it works and it is quite<br>
> transparent from the user point of view.<br>
<br>
</span>i think it is less question of "good programming practice" but of (not)<br>
breaking functionality.<br>
if you introduce some clock delay, then the object make break the<br>
expected order of execution.<br>
- how does it work in "-nogui" mode?<br>
- how does it work in "-noloadbang" mode?<br>
- how does it work if the object is hidden in a sub-patch/abstraction?<br>
- how does it relate to other [loadbang]s?<br>
- how does it relate to other nested [loadbang]s?<br>
- how does it work with other [delay]ed [loadbang]s?<br>
<br>
using [delay] to ensure a certain order of execution can often lead to<br>
subtle problems.<br>
i wonder whether the feature of being able to suppress the bang via a<br>
pressed key during load time is worth the potential problems it makes.<br>
<br>
fgamsdr<br>
<span class="HOEnZb"><font color="#888888">IOhannes<br>
<br>
</font></span><br>_______________________________________________<br>
<a href="mailto:Pd-list@lists.iem.at">Pd-list@lists.iem.at</a> mailing list<br>
UNSUBSCRIBE and account-management -> <a href="http://lists.puredata.info/listinfo/pd-list" rel="noreferrer" target="_blank">http://lists.puredata.info/listinfo/pd-list</a><br>
<br></blockquote></div><br></div>