gettingstarted
[Top] [All Lists]

Re: Can't seem to find files using locate

To: Getting Started <gettingstarted at lists dot realsoftware dot com>
Subject: Re: Can't seem to find files using locate
From: Seth Willits <seth at freaksw dot com>
Date: Sat, 31 Jul 2004 20:00:49 -0700
Delivered-to: gettingstarted at lists dot realsoftware dot com
References: <BD31A395 dot 3FB3%bheibert at verizon dot net>
On Jul 31, 2004, at 5:29 PM, Brian Heibert wrote:

    actualtexttolookfor = replaceall(""+searchfor.text," ","+")

But for some reason when I enter a file name nothing happens I don't get any results and I know I have that file on my computer I am using a file to
test the search program.  What gives?

That line of code doesn't result in a proper pattern. I'm not expert, but from what I see, the "+" character does not do an "and". Other than that, you may need to stick single quotes around the entire parameter/pattern and it should work.



Seth Willits
------------------------------------------------------------------------ ---
President and Head Developer of Freak Software - http://www.freaksw.com
REALbasic Guru at ResExcellence - http://www.resexcellence.com/realbasic

"Knowledge is limited. Imagination encircles the world."
    -- Albert Einstein
------------------------------------------------------------------------ ---

_______________________________________________
Unsubscribe or switch delivery mode:
<http://www.realsoftware.com/support/listmanager/>

Search the archives of this list here:
<http://www.realsoftware.com/listarchives/lists.html>

<Prev in Thread] Current Thread [Next in Thread>