From Clomosy Docs

Revision as of 13:12, 24 December 2024 by ClomosyAdmin (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

Opening the file in write mode erases its content and prepares it to write new data.
The file created with AssignFile is opened with ReWrite using the file name specified in the directory where the Clomosy Learn application is located.

Example

var
  file1 : TextFile;
{
  AssignFile(file1, 'Test.txt');
  ReWrite(file1);
}

See Also