From Clomosy Docs

Revision as of 14:48, 23 December 2024 by ClomosyAdmin (talk | contribs)

It is used to open the specified file in read or write mode.

Example

var
  file1: TextFile;
{
  if clFileExists('dosya.txt') then
  {
    AssignFile(file1, 'dosya.txt');
    
    Reset(file1);
    //Reading or writing operations can be performed.
  }
}

See Also