<html><body><div style="color:#000; background-color:#fff; font-family:HelveticaNeue, Helvetica Neue, Helvetica, Arial, Lucida Grande, sans-serif;font-size:12pt"><div id="yiv1473130217"><div><div style="color:#000;background-color:#fff;font-family:HelveticaNeue, Helvetica Neue, Helvetica, Arial, Lucida Grande, sans-serif;font-size:12pt;"><div id="yiv1473130217yui_3_16_0_14_1404353458050_4"><span id="yiv1473130217yui_3_16_0_14_1404353458050_11">Hi Rob,<br>If you look at the code for floatinlet_new and friends, you'll see they all create an inlet and then associate it with the addy of member variable.  If there were a banginlet_new, it could certainly create the inlet on behalf of your object, but what would it store?  Bang doesn't have a value associated with it.  To be philosophical about it, the only thing a banginlet could store is that is stores nothing. :)<br><br>However, if what you are after is a subsidiary inlet (one with a nonzero
 index) that has a bang method, you have to use what is called a proxy inlet.  See the code for [list append] or [list prepend] in x_list.c.  I think both have a secondary (or "proxy") object that receives messages associated with the right inlet of the respective list object.  Once you set it up you just add whatever method you want to your proxy class and everything should work.<br><br>It would be nice if there were a convenience function that made this easier.  (Or maybe there is and I'm missing it.)<br><br>-Jonathan<br></span></div> <div class="yiv1473130217yahoo_quoted" id="yiv1473130217yui_3_16_0_14_1404353458050_7" style="display: block;"> <div class="yiv1473130217yui_3_16_0_1_1404353458050_13518" style="font-family:HelveticaNeue, Helvetica Neue, Helvetica, Arial, Lucida Grande, sans-serif;font-size:12pt;"> <div class="yiv1473130217yui_3_16_0_1_1404353458050_13519" style="font-family:HelveticaNeue, Helvetica Neue, Helvetica,
 Arial, Lucida Grande, sans-serif;font-size:12pt;"> <div class="qtdSeparateBR"><br><br></div><div class="yiv1473130217yqt0374204950" id="yiv1473130217yqt01417"><div dir="ltr"> <font face="Arial" size="2"> On Wednesday, July 2, 2014 6:58 PM, Robert Esler via Pd-list <pd-list@lists.iem.at> wrote:<br clear="none"> </font> </div>  <br clear="none"><br clear="none"> <div class="yiv1473130217y_msg_container"><div id="yiv1473130217"><div><div class="yiv1473130217yui_3_16_0_1_1404353458050_13521" style="color:rgb(0, 0, 0);font-family:Calibri, sans-serif;font-size:14px;">Hello everyone,</div><div class="yiv1473130217yui_3_16_0_1_1404353458050_13522" style="color:rgb(0, 0, 0);font-family:Calibri, sans-serif;font-size:14px;">    <span class="yiv1473130217yui_3_16_0_1_1404353458050_13523" style="font-family:Calibri;font-size:medium;">My intention is to have an external with an active inlet that accepts a bang and at least one passive inlet that
 also </span><span class="yiv1473130217yui_3_16_0_1_1404353458050_13524" style="font-family:Calibri;font-size:medium;">accepts</span><span class="yiv1473130217yui_3_16_0_1_1404353458050_13525" style="font-family:Calibri;font-size:medium;"> a bang</span>.  The active inlet works fine.  However, I don't see an equivalent function call for passive bang inlets similar to creating a passive float inlet, e.g <span class="yiv1473130217yui_3_16_0_1_1404353458050_13526" style="font-family:Menlo;font-size:11px;">floatinlet_new(t_object *owner,
 t_float *fp);</span></div><div> I have tried using <font face="Menlo" size="2">symbolinlet_new(…)</font><font style="font-size:12px;" face="Menlo"> </font><font>but cannot seem to get it to recognize a bang without an error, inlet: expected 'symbol' but got 'bang'.  I have also tried the </font><span class="yiv1473130217yui_3_16_0_1_1404353458050_13529" style="font-family:Menlo;font-size:small;">inlet_new(…) </span>but do not get the desired results.</div><div><font> I'm stuck.  If anyone has any suggestions I'd love to hear them. </font></div><div><font>Thanks for the time.</font></div><div><font>Rob Esler</font></div><div><font>   </font></div></div></div><br clear="none">_______________________________________________<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"><br clear="none"><br clear="none"></div></div>  </div> </div>  </div> </div></div></div></div></body></html>