From Clomosy Docs

No edit summary
No edit summary
 
Line 28: Line 28:
<h2> See Also </h2>
<h2> See Also </h2>
* [[File_Handling | File Handling]]
* [[File_Handling | File Handling]]
{{#seo:|title=ReadLn Using in Clomosy - Clomosy Docs}}
{{#seo:|description=Use the ReadLn procedure in Clomosy to efficiently read lines from a file in read mode using Reset.}}
{{#seo:|description=Use the ReadLn procedure in Clomosy to efficiently read lines from a file in read mode using Reset.}}

Latest revision as of 14:24, 24 December 2024

It is a procedure used to read a line from a file.

Example

var
  file1 : TextFile;
{
  if (clFileExists('file.txt'))
  {
    AssignFile(file1, 'file.txt');
    Reset(file1);
    while (not Eof(file1))
    {
      ReadLn(file1);
    }
  }
}

See Also