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>dfpatternpos()</b> http://www.X-Hacker.org [<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
dfPatternPos()
Seeks the position of a string within the file
------------------------------------------------------------------------------
Syntax:

     dfPatternPos(<cFile>|<nHandle>, <cPattern>)--> nOffset

Parameters:

     <cFile>|<nHandle> Files or handle to use
     <cPattern> String pattern to search

Returns:

     <nOffset> Position of the string pattern within the file

Description:

     Seeks the position of a string pattern within a file NB If the
     function receive an handle the search start from the current position

Example:

     ? dfPatternPos("c:\config.sys", "DEVICE")

See also:

     dfExeSize(), dfToken()

See Also: dfExeSize() dfToken()

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