%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
handleValue of a file, returned by the function %FIO_OpenRead.
Return value

The returned value represents the line that was read (without the line ending character). If the returned value is invalid, the handle value does not represent an open file, or the entire file has already been read (there are no more lines).

Napíšte komentár