Retro video games delivered to your door every month!
Click above to get retro games delivered to your door ever month!
X-Hacker.org- ClipOn 3.0 Reference - c_fadv() http://www.X-Hacker.org [<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
 C_FADV()

 DESCRIPTION

 C_FADV() advances the specified file handle to the next line in a
 text file.

 NOTES

 Each line in the text file must be terminated with a new-line
 character (ASCII 13 and 10) and the line can not be greater than
 500 bytes.

 SYNTAX

 C_FADV(handle)

 PARAMETERS

 handle (N) is the file handle number assigned when the file was opened.

 RETURNS

 C_FADV() returns the new position in the file after moving the file
 pointer.

 EXAMPLES

 f1 = fopen("test.txt",2)       && open for read/write
 ...
 for i = 1 to 20
   linepos[i] = c_fadv(f1)      && store line positions
 next


See Also: C_FREV()

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