<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="yiv4928113919"><div id="yui_3_16_0_1_1454364242717_6236"><div id="yui_3_16_0_1_1454364242717_6235" style="color:#000;background-color:#fff;font-family:HelveticaNeue, Helvetica Neue, Helvetica, Arial, Lucida Grande, sans-serif;font-size:16px;">> it *might* be that pd-extended has somehow dropped this limitation.<br class="yiv4928113919" id="yiv4928113919yui_3_16_0_1_1454361668844_2890" clear="none">not to my knowledge though (though i always wondered why Pd-vanilla has<br class="yiv4928113919" id="yiv4928113919yui_3_16_0_1_1454361668844_2892" clear="none"><div dir="ltr" id="yiv4928113919yui_3_16_0_1_1454361668844_2994">this limitation in the first place).</div><div dir="ltr" id="yiv4928113919yui_3_16_0_1_1454361668844_2993"><br clear="none"></div><div id="yui_3_16_0_1_1454364242717_6446" dir="ltr">The limitation you are describing doesn't exist in any flavor of Pd.  But I'd <br></div><div id="yui_3_16_0_1_1454364242717_11059" dir="ltr">strongly advise external developers to write code as if that were a hard <br></div><div id="yui_3_16_0_1_1454364242717_9468" dir="ltr">limitation of the API.  (Otherwise you'll screw up the parameter types and <br></div><div id="yui_3_16_0_1_1454364242717_11162" dir="ltr">cause a crash, or at least make the code more difficult for others to read.)</div><div id="yiv4928113919yui_3_16_0_1_1454361668844_3899"><div id="yui_3_16_0_1_1454364242717_11186"><br clear="none"></div></div><div dir="ltr" id="yiv4928113919yui_3_16_0_1_1454361668844_3244">-Jonathan<br clear="none"></div><div id="yiv4928113919yui_3_16_0_1_1454361668844_2921"><span></span></div> <div id="yui_3_16_0_1_1454364242717_6934" class="yiv4928113919qtdSeparateBR"><br clear="none"><br clear="none"></div></div></div></div><div class=".yiv4928113919yahoo_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 class="qtdSeparateBR"><br><br></div><div class="yiv4928113919yqt5453149546" id="yiv4928113919yqtfd85842"><div dir="ltr"><font face="Arial" size="2"> On Monday, February 1, 2016 1:58 PM, IOhannes m zmölnig <zmoelnig@iem.at> wrote:<br clear="none"></font></div>  <br clear="none"><br clear="none"> <div class="yiv4928113919y_msg_container">On 01/31/2016 12:57 AM, Ricky Graham wrote:<br clear="none">> Hi all,<br clear="none">> <br clear="none">> Is there any reason why passing a symbol arg to determine the amount of outlets on object creation would work in extended but not in vanilla? Both compile and create successfully but for whatever reason the symbol arg of my object has no effect on the number of outlets in vanilla. I’m using sprintf to parse and identify symbols passed from the pd patch; would that cause any issues?<br clear="none">> <br clear="none"><br clear="none">i'm pretty sure that miller is right and that there are no real<br clear="none">differences between Pd and Pd-X regarding symbol parsing.<br clear="none"><br clear="none">the *only* thing i could think of is:<br clear="none">Pd has a built-in limitation that requires (for typechecked arguments)<br clear="none">that all symbols come before floats.<br clear="none">so you cannot do the following (using class_addcreator() instead of<br clear="none">class_new() or brevity):<br clear="none"><br clear="none">   class_addcreator((t_newmethod)foo_new, gensym("foo"), A_FLOAT,<br clear="none">A_SYMBOL, 0);<br clear="none"><br clear="none">instead you *must* do either<br clear="none"><br clear="none"> class_addcreator((t_newmethod)foo_new, gensym("foo"), A_SYMBOL,<br clear="none">A_FLOAT, 0);<div class="yiv4928113919yqt9738102709" id="yiv4928113919yqtfd00636"><br clear="none"><br clear="none">or</div><br clear="none"><br clear="none"> class_addcreator((t_newmethod)foo_new, gensym("foo"), A_GIMME, 0);<br clear="none"><br clear="none"><br clear="none">it *might* be that pd-extended has somehow dropped this limitation.<br clear="none">not to my knowledge though (though i always wondered why Pd-vanilla has<br clear="none">this limitation in the first place)<br clear="none"><br clear="none"><br clear="none">apart from that: i guess you would have to show your code or more<br clear="none">information.<br clear="none"><br clear="none">gamrds<br clear="none">IOhannes<div class="yiv4928113919yqt9738102709" id="yiv4928113919yqtfd26452"><br clear="none"></div><br clear="none"><div class="yiv4928113919yqt9738102709" id="yiv4928113919yqtfd10647">_______________________________________________<br clear="none"><a rel="nofollow" shape="rect" ymailto="mailto:Pd-list@lists.iem.at" target="_blank" href="mailto:Pd-list@lists.iem.at">Pd-list@lists.iem.at</a> mailing list<br clear="none">UNSUBSCRIBE and account-management -> <a rel="nofollow" shape="rect" target="_blank" href="http://lists.puredata.info/listinfo/pd-list">http://lists.puredata.info/listinfo/pd-list</a><br clear="none"></div><br clear="none"><br clear="none"></div>  </div></div><div class="yiv4928113919yqt5453149546" id="yiv4928113919yqtfd50152"> </div></div><div class="yiv4928113919yqt5453149546" id="yiv4928113919yqtfd19409">  </div></div></div></body></html>