| Table of Contents / File / Text | Operators |
fread_line — Read a line from a text file.
fread_line( : : FileHandle : OutLine, IsEOF)
The operator fread_line reads a line from the current input file (including the line skip). If the end of the file is reached IsEOF returns the value 1, otherwise 0.
The maximum string length is 1024 character (including the end of string character).
File handle.
Read line.
Reached end of file.
do {
fread_line(FileHandle,&Line,&IsEOF) ;
} while(IsEOF==0) ;
If the file is open and a suitable line is read fread_line returns the value 2 (H_MSG_TRUE). Otherwise an exception is raised.
open_file, close_file, fread_char, fread_string
Foundation
| Table of Contents / File / Text | Operators |
| HALCON Reference Manual 10.0.2 | Copyright © 1996-2011 MVTec Software GmbH |