IPB

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

Language:
Русский
English

 SetTextBuf (procedure)


Assigns an I/O buffer to a text file.

Declaration

 procedure SetTextBuf(var F: Text; var Buf [ ; Size:   Word ] );

Target

Windows, Real, Proctected

Remarks

SetTextBuf should never be applied to an open file, although it can be called immediately after Reset, Rewrite, and Append.

If you call SetTextBuf on an open file once I/O operations have taken place, loss of data can result because of the change of buffer.

Borland Pascal does not ensure that the buffer exists for the entire duration of I/O operations on the file. A common error is to install a local variable as a buffer, then use the file outside the procedure that declared the buffer.

Sample Code

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

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



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