<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_ym19_1_1459978733627_12871"><span id="yui_3_16_0_ym19_1_1459978733627_12870">You can use class_addcreator to associate any symbol you want with <br></span></div><div id="yui_3_16_0_ym19_1_1459978733627_12873" dir="ltr"><span id="yui_3_16_0_ym19_1_1459978733627_12872">an object creator.  Then when the user types that symbol into an object <br></span></div><div id="yui_3_16_0_ym19_1_1459978733627_12934" dir="ltr"><span id="yui_3_16_0_ym19_1_1459978733627_12933">box, it will call the constructor you supplied as an argument to <br></span></div><div id="yui_3_16_0_ym19_1_1459978733627_13014" dir="ltr"><span>class_addcreator.</span></div><div id="yui_3_16_0_ym19_1_1459978733627_13015" dir="ltr"><br><span></span></div><div id="yui_3_16_0_ym19_1_1459978733627_13017" dir="ltr"><span id="yui_3_16_0_ym19_1_1459978733627_13016">However, the same request for peer pressure applies here: outside of <br></span></div><div id="yui_3_16_0_ym19_1_1459978733627_13283" dir="ltr"><span id="yui_3_16_0_ym19_1_1459978733627_13016">the cases where aliases are already entrenched, don't use them.  The <br></span></div><div dir="ltr"><span id="yui_3_16_0_ym19_1_1459978733627_13016">small benefit of less typing (or fancy method-sharing) isn't worth the <br></span></div><div id="yui_3_16_0_ym19_1_1459978733627_13469" dir="ltr"><span id="yui_3_16_0_ym19_1_1459978733627_13016">user-headaches when they fail to instantiate the object.</span></div><div id="yui_3_16_0_ym19_1_1459978733627_13651" dir="ltr"><br><span id="yui_3_16_0_ym19_1_1459978733627_13016"></span></div><div id="yui_3_16_0_ym19_1_1459978733627_13652" dir="ltr"><span id="yui_3_16_0_ym19_1_1459978733627_13016">-Jonathan<br></span></div><div id="yui_3_16_0_ym19_1_1459978733627_13497" dir="ltr"><br><span id="yui_3_16_0_ym19_1_1459978733627_13016"></span></div><div id="yui_3_16_0_ym19_1_1459978733627_13498" dir="ltr"><span id="yui_3_16_0_ym19_1_1459978733627_13016"><br></span></div><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, April 6, 2016 6:02 PM, Alexandre Torres Porres <porres@gmail.com> wrote:<br></font></div>  <br><br> <div class="y_msg_container"><div id="yiv9304514881"><div dir="ltr">in the last thread "Name conflicts "class overwritten; old one renamed 'x_aliased'" I was telling how in cyclone you can compile Line~ with alias names such as "line~" and "cyclone/line~", so you can call these two other versions instead. Other files in cyclone have alias name like Scope~ can be called as "scope~".<div class="yiv9304514881gmail_extra"><br></div><div class="yiv9304514881gmail_extra">But I don't get how this works. The thing is, as i was also trying to clarify in previous threads, I though you could only call and load an alias after I instantiate the object with the official' name.<br></div><div class="yiv9304514881gmail_extra"><br></div><div class="yiv9304514881gmail_extra">So, before being able to call "scope~" I'd have to load it as "Scope~". Or load it as "Line~" before "line~" and "cyclone/line~". Or everythiing should have been first loaded as a regular library, then I can call whatever object... I was believing that was the case, and someone like Roman was pending that way as well.</div><div class="yiv9304514881gmail_extra"><br></div><div class="yiv9304514881gmail_extra">but these objects in cyclone prove wrong, there seems to be a way... but it also sees like some ninja trick with some restrictions, cause I tried renaming one of the aliases from "line~" to "pizza~" and it didn't work. Does it have to do with some </div><div class="yiv9304514881gmail_extra"><br></div><div class="yiv9304514881gmail_extra">can anyone shed some light on?</div><div class="yiv9304514881gmail_extra"><br></div><div class="yiv9304514881gmail_extra">thanks </div><div class="yiv9304514881gmail_extra"><br></div></div></div><br>_______________________________________________<br><a ymailto="mailto:Pd-list@lists.iem.at" 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" target="_blank">https://lists.puredata.info/listinfo/pd-list</a><br><br><br></div>  </div> </div>  </div></div></body></html>