IPB

> Flush (procedure)
Чат
Форум
Загрузка...
 

Language:
Русский
English

 Flush (procedure)


Flushes the buffer of a text file open for output.

Declaration

 procedure Flush(var F: Text);

Target

Windows, Real, Protected

Remarks

F is a text file variable.

When a text file has been opened for output using Rewrite or Append, a call to Flush will empty the file's buffer. This guarantees that all characters written to the file at that time have actually been written to the external file. Flush has no effect on files opened for input.

With {$I-}, IOResult returns 0 if the operation was successful; otherwise, it returns a nonzero error code.

Sample Code

 
 К началу страницы 
Тэги: Flush
 

Код для вставки: :: :: :: ГОСТ ::
Поделиться: //
 



-
Хостинг предоставлен компанией "Веб Сервис Центр" при поддержке компании "ДокЛаб"