<div dir="ltr">ok, that changes things a bit.<div><br></div><div>It is still true that [declare] will prioritize to first load an object from that specified lib (let's call it lib1), even if there's another one (lib2) with the same object listed in the path. But this only happens if none of these objects have been called before.</div><div><br></div><div>So this is still safe if you're sharing a patch to be first opened on its own. </div><div><br></div><div>Now, things get hard to control if you've forced to load the object from lib2 beforehand, then try to load the other one from lib1 without a prefix and trying to rely on [declare]. But this also depends wether it is an abstraction or not, and, as I see it, that is inconsistent behaviour.</div><div><br></div><div>Not only that, but I could also ask wether this is more of an issue on how Pd handles the object search than how [declare] works.</div><div><br></div><div>And to come back to my first remark here on this thread, if [declare] cannot always force a priority, shouldn't it?</div><div><br></div><div>I would assume that's what it had to do.</div><div><br></div><div>cheers</div><div><br></div><div> </div></div><div class="gmail_extra"><br><div class="gmail_quote">2018-01-04 20:36 GMT-03:00 IOhannes m zmölnig <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 01/05/2018 12:17 AM, Alexandre Torres Porres wrote:<br>
><br>
> The compiled object from the lib listed in the path doesn't get called, and<br>
> the one specified in [declare] gets called instead.<br>
><br>
<br>
</span>repeat the test with two abstractions having loading libraries providing<br>
the same object.<br>
e.g. abs1.pd uses a [gate] stub that prints "gate 1", whereas abs2.pd<br>
uses a [gate] stub that prints "gate 2".<br>
load abs1.pd, after that abs2.pd (either manually, or by putting them<br>
into a master patch). observe the console.<br>
<br>
fgamdsr<br>
<span class="HOEnZb"><font color="#888888">IOhannes<br>
<br>
<br>
</font></span><br>______________________________<wbr>_________________<br>
<a href="mailto:Pd-list@lists.iem.at">Pd-list@lists.iem.at</a> mailing list<br>
UNSUBSCRIBE and account-management -> <a href="https://lists.puredata.info/listinfo/pd-list" rel="noreferrer" target="_blank">https://lists.puredata.info/<wbr>listinfo/pd-list</a><br>
<br></blockquote></div><br></div>