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>dffpos()</b> http://www.X-Hacker.org [<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
dfFPos()
Return the current position in a DFFREAD
------------------------------------------------------------------------------
Syntax:

     dfFPos() --> nPos

Parameters:

     NONE

Returns:

     <nPos>   Current position

Description:

     Return the current position in a DFFREAD

Example:

     #include "dfStd.ch"
     
     LOCAL nHandle := FCREATE( "CONFIG.NEW" )
     
     dfFOpen( "C:\CONFIG.SYS" )
     WHILE !dfFEof()
        ? dfFread()
        ?? dfFPos()
        FWRITE( nHandle, dfFRead() +CRLF )
        dfFSkip()
     END
     dfFClose()
     
     fClose(nHandle)

See also:

     dfFRead()

See Also: dfFRead()

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