Retro video games delivered to your door every month!
Click above to get retro games delivered to your door ever month!
X-Hacker.org- dBsee 4.6 - The Library - <b>dfflocate()</b> http://www.X-Hacker.org [<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
dfFLocate()
Locates a string in a text file
------------------------------------------------------------------------------
Syntax:

     dfFLocate( <cStr>, <lContinue> ) -->lRet

Parameters:

     <cStr>     String to locate.
     <lContinue> if .T. the research begins at the current position. If .F.
     it begins at the top of the file.

Returns:

     <lRet> If the string has been found, returns .T., otherwise .F.

Description:

     Locates a string in a file that has been opened by dfFOpen(). The
     string and the line which is read from the file are both converted
     into upper case.

Example:

     dfFOpen( "Menu.log" )
     IF !dfFLocate("[Error]")
        ? "No errors"
     ENDIF

See also:

     dfFOpen()

See Also: dfFOpen()

Online resources provided by: http://www.X-Hacker.org --- NG 2 HTML conversion by Dave Pearson