At 12:52 PM -0600 9/2/2000, Brad Waite wrote:
>Hi all,
>
>findPosNear isn't working the way I read the dictionary. What could
>I be doing
>wrong?
>
>fred = ["apple", "bat", "car"]
>put findPosNear(fred, "b")
>-- 0
You need to sort it first:
fred = ["apple", "bat", "car"]
sort(fred)
put findPosNear(fred, "b")
-- 2
--
Roy Pardi
[To remove yourself from this list, or to change to digest mode, go to
http://www.penworks.com/LUJ/lingo-l.cgi To post messages to the list,
email [EMAIL PROTECTED] (Problems, email [EMAIL PROTECTED])
Lingo-L is for learning and helping with programming Lingo. Thanks!]