<table cellspacing="0" cellpadding="0" border="0" ><tr><td valign="top" style="font: inherit;"><DIV>doc/2.control.examples/12.PART2.subpatch.pd (inside [pd eager-adder])</DIV>
<DIV>&nbsp;</DIV>
<DIV>Also in:</DIV>
<DIV><A href="http://crca.ucsd.edu/~msp/Pd_documentation/x2.htm#s7">http://crca.ucsd.edu/~msp/Pd_documentation/x2.htm#s7</A></DIV>
<DIV>&nbsp;</DIV>
<DIV>Trivia:</DIV>
<DIV>If you put a bunch of [inlet] objects at the exact same x position in a canvas, the order in </DIV>
<DIV>which they were created (from most recent to least recent)&nbsp;corresponds to the&nbsp;left-to-right </DIV>
<DIV>order of the subpatch's inlets on the parent patch.&nbsp; In other words: if you have: </DIV>
<DIV>[inlet]</DIV>
<DIV>[inlet]</DIV>
<DIV>&nbsp;</DIV>
<DIV>There's no way to tell by looking what the ordering is.&nbsp; So, obviously, don't do that, but </DIV>
<DIV>also keep in mind that&nbsp;it's a good idea in general to keep all [inlet] objects in a horizontal row so one can quickly grasp their left-to-right order merely by looking at the patch:</DIV>
<DIV>&nbsp;</DIV>
<DIV>[inlet]&nbsp;&nbsp;&nbsp;&nbsp; [inlet]</DIV>
<DIV>&nbsp;</DIV>
<DIV>is much clearer than:</DIV>
<DIV>&nbsp;</DIV>
<DIV>[inlet] [inlet]</DIV>
<DIV>&nbsp;[inlet]</DIV>
<DIV>&nbsp;</DIV>
<DIV>(Same for [outlet].)</DIV>
<DIV>&nbsp;</DIV>
<DIV>-Jonathan</DIV>
<DIV><BR>--- On <B>Mon, 2/14/11, Morgan Packard <I>&lt;morgan@morganpackard.com&gt;</I></B> wrote:<BR></DIV>
<BLOCKQUOTE style="BORDER-LEFT: rgb(16,16,255) 2px solid; PADDING-LEFT: 5px; MARGIN-LEFT: 5px"><BR>From: Morgan Packard &lt;morgan@morganpackard.com&gt;<BR>Subject: [PD] in an abstraction or subpatch, what determines the order of inlets/outlets?<BR>To: "pd list" &lt;pd-list@iem.at&gt;<BR>Date: Monday, February 14, 2011, 10:32 PM<BR><BR>
<DIV id=yiv985942982>In other words, when I edit my subpatch, how can I tell which inlets/outlets in the subpatch correspond to which in box in the main patch representing the subpatch?
<DIV><BR></DIV>
<DIV>I'm sure this is a common question, but a quick glance through the docs and on google didn't turn anything up.&nbsp;</DIV>
<DIV><BR></DIV>
<DIV>thanks,</DIV>
<DIV><BR></DIV>
<DIV>-Morgan<BR clear=all><BR>-- <BR><FONT color=#999999>================================</FONT>
<DIV><FONT color=#999999>Web:</FONT><BR>
<DIV><A href="http://www.morganpackard.com/" rel=nofollow target=_blank><FONT color=#333333>http://www.morganpackard.com</FONT></A></DIV>
<DIV><BR></DIV>
<DIV><FONT color=#999999>Music/Art:</FONT></DIV>
<DIV><FONT color=#333333>Latest album:&nbsp;</FONT><A href="http://www.anticipaterecordings.com/releases/ANT_011/index.php" rel=nofollow target=_blank><FONT color=#333333>Moment Again Elsewhere</FONT></A></DIV></DIV>
<DIV><FONT color=#333333>iOS app </FONT><A href="http://itunes.apple.com/us/app/thicket/id364824621?mt=8" rel=nofollow target=_blank><FONT color=#333333>Thicket</FONT></A><FONT color=#333333> available on iTunes store</FONT>.</DIV>
<DIV><SPAN style="COLOR: rgb(153,153,153)">================================</SPAN></DIV><BR></DIV></DIV><BR>-----Inline Attachment Follows-----<BR><BR>
<DIV class=plainMail>_______________________________________________<BR><A href="http://us.mc394.mail.yahoo.com/mc/compose?to=Pd-list@iem.at" ymailto="mailto:Pd-list@iem.at">Pd-list@iem.at</A> mailing list<BR>UNSUBSCRIBE and account-management -&gt; <A href="http://lists.puredata.info/listinfo/pd-list" target=_blank>http://lists.puredata.info/listinfo/pd-list</A><BR></DIV></BLOCKQUOTE></td></tr></table><br>