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>dfftop()</b> http://www.X-Hacker.org [<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
dfFTop()
Performs a GoTop on a text file
------------------------------------------------------------------------------
Syntax:

     dfFTop() --> NIL

Parameters:

     NONE

Returns:

     NIL

Description:

     Goes to the top of a file opened by dfFOpen() or selected by
     dfFSelect().

Example:

     LOCAL cLine := ""
     dfFOpen( "Menu.log" )
     IF dfFLocate("[Error]")   // Errors found
        ? "Errori"             // Displays message
        QUIT                   // and quits
     END
     dfFTop()                  // Go to the top
     WHILE !dfFEof()           // While NOT Eof
        cLine := dfFRead()     // Read its lines
        // Elaborazioni
        dfFSkip()              // Skip
     END

See also:

     dfFEof(), dfFSkip()

See Also: dfFEof() dfFSkip()

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