Assigns an I/O buffer to a text file.
procedure SetTextBuf(var F: Text; var Buf [ ; Size: Word ] );
Windows, Real, Proctected
SetTextBuf should never be applied to an open file, although it can be called immediately after, , and .
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.