On 24 May 2010 12:37, Luis Rivera <jlrn77@gmail.com> wrote:
On 23 May 2010 19:22, Frank Heckenbach <ih8mj@fjf.gnu.de> wrote:
@Luis Rivera: If the replies so far didn't help you, you might describe what you actually want to achieve, so we can help you better. If you're just looking for any example using FindFiles, you can look at findfilesdemo.pas under demos.
Basically, I'm trying to find a file whose name is provided by the user in an interactive console session which might be found somewhere in a directory other than the current one, with path search, and reset the contents of the file ready for further processing.
I failed to explain that this function is meant to simply check if the file exists; and if so, reset it and pass it over for further processing in other procedures. Cheers, -- Luis Rivera O< http://www.asciiribbon.org/ campaign