%FIO_ReadLine function


Function
The function reads an entire line from the specified file. The row can be completed by LF sign (Unix format), CR (Mac format) or CR LF (Dos format).
Declaration
TEXT %FIO_ReadLine(
   INT in handle
 )

Parameters
handle Value of a file, returned by the function %FIO_OpenRead.

Return value
Read line without the sign of row completion or invalid value otherwise - value of the parameter handle doesn't represent an open file, or the entire file was read (no more lines).
Napíšte komentár