Name
fread_linefread_lineFreadLinefread_lineFreadLineFreadLine — Read a line from a file.
The operator fread_linefread_lineFreadLinefread_lineFreadLineFreadLine reads a line from the current
input file (including the line skip) defined by the handle
FileHandleFileHandleFileHandleFileHandleFileHandlefileHandle.
The input file must be opened in ASCII format.
The read line is returned in parameter
OutLineOutLineOutLineOutLineOutLineoutLine.
If the end of the file is reached, IsEOFIsEOFIsEOFIsEOFIsEOFisEOF returns the
value 1, otherwise 0.
- Multithreading type: reentrant (runs in parallel with non-exclusive operators).
- Multithreading scope: global (may be called from any thread).
- Processed without parallelization.
do {
fread_line(FileHandle,&Line,&IsEOF) ;
} while(IsEOF==0) ;
If the file is open and a suitable line is read, fread_linefread_lineFreadLinefread_lineFreadLineFreadLine
returns the value 2 (H_MSG_TRUE).
Otherwise, an exception is raised.
open_fileopen_fileOpenFileopen_fileOpenFileOpenFile
close_fileclose_fileCloseFileclose_fileCloseFileCloseFile
fread_charfread_charFreadCharfread_charFreadCharFreadChar,
fread_stringfread_stringFreadStringfread_stringFreadStringFreadString
open_fileopen_fileOpenFileopen_fileOpenFileOpenFile,
close_fileclose_fileCloseFileclose_fileCloseFileCloseFile,
fread_charfread_charFreadCharfread_charFreadCharFreadChar,
fread_stringfread_stringFreadStringfread_stringFreadStringFreadString
Foundation