if you use [drip] from zexy, you can build a patch with [simile] from my ekext externals.<br><br>Alternatively, you could turn the problem on its head. Feed the list into [sieve] via [drip] into a [set $1 1( message, run sieve in mode 1 (nearest value), and fire the value (rather than the list) into sieve each time the list is updated. [sieve] is also part of the ekext externals.<br><br>When I get my [listmatch] object finished I'll let you know, but I'm quite busy right now!<br><br>Best,<br>Ed<br><br><b><i>danja &lt;binary.koala@gmail.com&gt;</i></b> wrote:<blockquote class="replbq" style="border-left: 2px solid rgb(16, 16, 255); margin-left: 5px; padding-left: 5px;"> hello there,<br>i have a [list] of numbers and i'd like to search through it for the<br>value closest to the search subject. so to say, if i have '22 31 47 86'<br>in my list and i match it with '45' the answer would be '47' (closest in<br>the list). this rather useful function (fuzzy integer search?) must
 have<br>been written by someone already, it's just that i can't find it :)<br>i wouldn't ask if i could patch it myself, but i know how it might work:<br>all integers from the list are compared to the reference (subject)<br>number, and the integer in subtraction closest to '0' would be the<br>hit... you know what i mean?<br><br>any advice is very much appreciated!<br><br>p.s. apologies for my ignorance, i'm just starting here...<br><br>--<br>danja<br>http://k0a1a.net<br><br>_______________________________________________<br>PD-list@iem.at mailing list<br>UNSUBSCRIBE and account-management -&gt; http://lists.puredata.info/listinfo/pd-list<br></blockquote><br><BR><BR>Lone Shark "Aviation" out now on http://www.pyramidtransmissions.com<br>http://www.myspace.com/sharktracks<p>&#32;
      <hr size=1> 
Yahoo! Answers - Get better answers from someone who knows. <a
href="http://uk.answers.yahoo.com/;_ylc=X3oDMTEydmViNG02BF9TAzIxMTQ3MTcxOTAEc2VjA21haWwEc2xrA3RhZ2xpbmU">Try
it now</a>.