meta data for this page
ibec_fs_Readln
Description
The ibec_fs_Readln function reads a line of text and then skips to the next line of the file.
This function now supports files larger than 2 GB.
Syntax
function ibec_fs_Readln(FileHandle : variant) : string;
Example
execute IBEBlock
returns (vcout varchar(1000))
as
begin
FileName = 'C:\mydata.csv';
FH = ibec_fs_OpenFile(FileName, __fmOpenRead);
if (not FH is NULL) then
begin
while (not ibec_fs_Eof(FH)) do
begin
vcout = ibec_fs_Readln(FH);
suspend;
end
ibec_fs_CloseFile(FH);
end
end